/* ==========================================================================
   SITE-MODERN.CSS  —  KamalKapoor.com Unified Stylesheet
   Complete rewrite — fixes dropdown hover, hero layout, zodiac grid,
   card alignment, dark sections, tab layout, features grid, feature cards.
   Cosmic Astrology Theme · Glassmorphism · Micro-animations
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ==========================================================================
   1. CUSTOM PROPERTIES (Design Tokens)
   ========================================================================== */
:root {
  color-scheme: light;
  /* Core palette */
  --kk-ink: #18120f;
  --kk-muted: #665d56;
  --kk-line: #eadfd4;
  --kk-bg: #fffaf3;
  --kk-panel: #ffffff;
  /* Accent colours */
  --kk-gold: #d4a039;
  --kk-saffron: #e8722a;
  --kk-maroon: #8b1e3f;
  --kk-teal: #1f8a70;
  --kk-cream: #fdf6ee;
  /* Cosmic colours (dark sections) */
  --kk-deep: #0a1628;
  --kk-navy: #0d1f3c;
  --kk-star: rgba(255,255,255,0.7);
  /* Shadows */
  --kk-shadow: 0 18px 45px rgba(62,38,19,0.12);
  --kk-shadow-lg: 0 28px 60px rgba(15,10,46,0.22);
  --kk-shadow-glow: 0 0 30px rgba(212,160,57,0.25);
  /* Radii */
  --kk-radius: 10px;
  --kk-radius-lg: 18px;
  /* Transitions */
  --kk-ease: 0.3s ease;
  /* Font stacks */
  --kk-font-heading: "Cormorant Garamond", Georgia, serif;
  --kk-font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--kk-ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(232,114,42,0.08), transparent 34rem),
    radial-gradient(circle at 92% 12%, rgba(31,138,112,0.07), transparent 28rem),
    linear-gradient(180deg, #fff7ec 0%, #fffdfa 34rem, var(--kk-panel) 100%);
  font-family: var(--kk-font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  width: 100%;
}

a {
  color: var(--kk-maroon);
  text-decoration: none;
  transition: color var(--kk-ease);
}

a:hover,
a:focus {
  color: var(--kk-saffron);
}

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

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 14px;
  color: #24140f;
  font-family: var(--kk-font-heading);
  line-height: 1.18;
  font-weight: 700;
}

h1, .h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1.15rem;
}

.uline {
  border-top: none !important;
  border-bottom: 3px solid var(--kk-maroon);
  padding-top: 0 !important;
  padding-bottom: 8px;
  display: inline-block;
}

.orange {
  color: var(--kk-saffron);
}

.center,
.text-center {
  text-align: center;
}

.lead {
  max-width: 920px;
  margin: 0 auto 28px;
  color: var(--kk-muted);
  font-size: 1.15rem;
}

.para-justify {
  text-align: justify;
}

/* ==========================================================================
   4. CONTAINER
   ========================================================================== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   5. GRID SYSTEM (Bootstrap class mappings)
   ========================================================================== */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.row::before,
.row::after {
  display: none !important;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.align-items-center {
  align-items: center;
}

/* Column base */
[class*="col-"] {
  min-width: 0;
}

/* Full-width columns */
.col-sm-12,
.col-xs-12,
.col-md-12,
.col-lg-12 {
  flex: 0 0 100%;
}

/* Three-quarter columns */
.col-md-9,
.col-lg-9 {
  flex: 0 0 calc(75% - 18px);
  max-width: calc(75% - 18px);
}

/* Two-thirds columns */
.col-md-8,
.col-lg-8 {
  flex: 0 0 calc(66.666% - 16px);
  max-width: calc(66.666% - 16px);
}

/* Seven-twelfths columns */
.col-md-7,
.col-lg-7 {
  flex: 0 0 calc(58.333% - 14px);
  max-width: calc(58.333% - 14px);
}

/* Half columns */
.col-md-6,
.col-lg-6 {
  flex: 0 0 calc(50% - 12px);
}

/* Third columns */
.col-md-4,
.col-lg-4 {
  flex: 0 0 calc(33.333% - 16px);
}

/* Quarter columns */
.col-md-3 {
  flex: 0 0 calc(25% - 18px);
}

/* Five-twelfths */
.col-md-5 {
  flex: 0 0 calc(41.666% - 14px);
}

/* Seven-twelfths */
.col-sm-7,
.col-xs-7 {
  flex: 1 1 55%;
}

/* Three-twelfths small */
.col-sm-3 {
  flex: 0 0 calc(25% - 18px);
}

/* Half small */
.col-sm-6 {
  flex: 0 0 calc(50% - 12px);
}

/* Six-twelfths mobile */
.col-xs-6 {
  flex: 0 0 calc(50% - 12px);
}

/* ==========================================================================
   6. NAVBAR — Dark cosmic sticky nav
   ========================================================================== */
.navbar,
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #0b1a30;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  transition: background var(--kk-ease), box-shadow var(--kk-ease);
}

.navbar-fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 64px;
}

.navbar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.navbar-header > a {
  display: inline-flex;
  align-items: center;
  background: #ffffff; /* keep white base */
  border-radius: 20px; /* gorgeous rounded pill frame */
  padding: 4px 16px; /* clean breathing padding */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18), inset 0 1px 2px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  margin: 4px 0;
  max-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar-header > a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(212, 160, 57, 0.25);
  border-color: rgba(212, 160, 57, 0.3);
}

.navbar-header img {
  display: block;
  max-height: 48px; /* FULL size! Not shrunken! */
  width: auto;
  height: auto;
}

/* Hamburger button — hidden on desktop */
.navbar-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--kk-radius);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background var(--kk-ease);
  align-items: center;
  justify-content: center;
}

.navbar-toggle:hover {
  background: rgba(255,255,255,0.1);
}

.navbar-toggle .fa-bars {
  color: #fff;
}

/* Nav collapse wrapper */
.collapse,
.navbar-collapse,
.navbar-main-collapse {
  display: flex;
  flex: 1 1 auto;
}

/* Nav list */
.nav,
.nav.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-right {
  justify-content: flex-end;
  margin-left: auto;
}

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

.nav.navbar-nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  padding: 14px 12px;
  font-family: var(--kk-font-body);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav.navbar-nav > li > a:hover,
.nav.navbar-nav > li:focus-within > a {
  color: var(--kk-gold);
}

.page-scroll {
  /* Bootstrap compatibility */
}

/* ==========================================================================
   7. DROPDOWN MENUS — HOVER ISSUE FIXED!
   Invisible padding bridge prevents dropdown from closing when
   the mouse travels between the trigger link and the menu.
   ========================================================================== */
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  margin-left: 4px;
  transition: transform var(--kk-ease);
}

.dropdown.is-open .caret {
  transform: rotate(180deg);
}

.dropdown-toggle {
  cursor: pointer;
}

/* Invisible bridge to keep dropdown open when mouse moves between trigger and menu across the subbar */
.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px;
  pointer-events: auto;
}

.dropdown-menu {
  position: absolute;
  top: 100%; /* Starts immediately attached from the upside navbar link */
  left: 0;
  min-width: 230px;
  max-height: min(75vh, 520px);
  overflow-y: auto;
  margin: 0;
  padding: 8px 0;
  border: 1px solid rgba(212, 160, 57, 0.35);
  border-top: 2px solid var(--kk-gold);
  border-radius: 0 0 8px 8px;
  background: #0b1a30;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(2px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 1200;
  box-shadow: 0 14px 32px rgba(0,0,0,0.6);
}

.dropdown:hover > .dropdown-menu,
.dropdown.is-hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu,
.dropdown.is-open > .dropdown-menu,
.dropdown.open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 9px 20px;
  color: rgba(255,255,255,0.9);
  font-size: 0.86rem;
  line-height: 1.4;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu li a:hover,
.dropdown-menu li a:focus {
  background: rgba(212,160,57,0.15);
  color: var(--kk-gold);
  padding-left: 24px;
}

/* ==========================================================================
   8. QUICK HOROSCOPE FORM (in navbar)
   ========================================================================== */
.navbar-subbar {
  background: #081422;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 6px 0;
  width: 100%;
}

.subbar-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.quick-horoscope-form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 12px;
  width: auto;
  margin: 0 auto;
}

.quick-horoscope-form__title {
  color: var(--kk-gold);
  font-family: var(--kk-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: 2px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.quick-horoscope-form select {
  background: #ffffff;
  color: var(--kk-ink);
  border: 1px solid var(--kk-line);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: var(--kk-font-body);
  font-weight: 500;
  height: 32px;
  min-height: 32px;
  width: auto;
  min-width: 125px;
  max-width: 165px;
  outline: none;
  cursor: pointer;
  flex: 0 0 auto;
}

.quick-horoscope-form__intervals {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.quick-horoscope-form label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  transition: color var(--kk-ease);
  flex: 0 0 auto;
}

.quick-horoscope-form label:hover {
  color: var(--kk-gold);
}

.quick-horoscope-form input[type="radio"] {
  accent-color: var(--kk-gold);
  width: 15px;
  height: 15px;
  margin: 0;
  cursor: pointer;
}

.quick-form-submit {
  height: 32px;
  min-height: 32px;
  line-height: 32px !important;
  padding: 0 14px !important;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 6px;
  flex: 0 0 auto !important;
}

.navbar-spacer {
  height: 104px;
}

/* ==========================================================================
   VEDIC KUNDLI CHART (#AutoNumber198 & #AutoNumber2)
   Locks chart to 401x401 without vertical stretching or repeated background
   ========================================================================== */
#AutoNumber198 {
  width: 401px !important;
  height: 401px !important;
  max-width: 401px !important;
  max-height: 401px !important;
  background-image: url('horo.gif') !important;
  background-repeat: no-repeat !important;
  background-size: 401px 401px !important;
  background-position: 0 0 !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: content-box !important;
}
#AutoNumber198 > tbody > tr > td,
#AutoNumber198 > tr > td {
  padding: 0 !important;
  margin: 0 !important;
  height: 401px !important;
  width: 401px !important;
  box-sizing: content-box !important;
  vertical-align: top !important;
}
#AutoNumber2 {
  width: 401px !important;
  height: 401px !important;
  max-width: 401px !important;
  max-height: 401px !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: content-box !important;
}
#AutoNumber2 tr {
  line-height: 1.0 !important;
}
#AutoNumber2 td {
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.0 !important;
  font-family: Verdana, Arial, sans-serif !important;
  font-size: 11px !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
}
#AutoNumber2 font,
#AutoNumber2 span {
  font-family: Verdana, Arial, sans-serif !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
}
#AutoNumber2 b {
  font-weight: bold !important;
}


/* ==========================================================================
   9. TOP BAR - hidden when empty (prevents gap below Quick Horoscope)
   ========================================================================== */
.top-bar {
  display: none !important;
  background: var(--kk-deep);
  padding: 4px 0;
  font-size: 0.82rem;
}

.top-bar .row {
  align-items: center;
  min-height: 32px;
}
#header:has(.top-bar:empty),
#header .top-bar:empty{
  display: none !important;
}

.top-number {
  color: rgba(255,255,255,0.7);
}

.top-number p {
  margin: 0;
  color: rgba(255,255,255,0.7);
}

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

.social a {
  color: rgba(255,255,255,0.8);
  transition: color var(--kk-ease);
}

.social a:hover {
  color: var(--kk-gold);
}

/* ==========================================================================
   10. BADGES
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--kk-saffron), var(--kk-gold));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.badge.custom-badge {
  background: var(--kk-maroon);
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 3px;
}

.badge.white,
.white.badge {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.kk-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 2px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--kk-saffron), var(--kk-gold));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   11. IMAGES
   ========================================================================== */
.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

.img-circle {
  border-radius: 50%;
  width: 140px;
  height: 140px;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid #fff;
  box-shadow: 0 8px 20px rgba(62,38,19,0.12);
}

/* ==========================================================================
   12. BUTTONS
   ========================================================================== */
input[type="submit"],
button,
.btn {
  min-height: 42px;
  border: 0;
  border-radius: var(--kk-radius);
  background: linear-gradient(135deg, var(--kk-maroon), var(--kk-saffron));
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(139,30,63,0.18);
  transition: transform var(--kk-ease), box-shadow var(--kk-ease), background var(--kk-ease);
}

input[type="submit"]:hover,
button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(139,30,63,0.24);
}

input[type="submit"] {
  padding: 0 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--kk-maroon), var(--kk-saffron));
  color: #fff;
}

/* KK modern buttons */
.kk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: var(--kk-font-body);
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.kk-btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  box-shadow: none;
}

.kk-btn--outline:hover {
  border-color: var(--kk-gold);
  color: var(--kk-gold);
}

.kk-btn--gold {
  background: linear-gradient(135deg, var(--kk-gold), var(--kk-saffron));
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(212,160,57,0.4);
}

.kk-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212,160,57,0.5);
  color: #fff;
}

.kk-btn--maroon {
  background: linear-gradient(135deg, var(--kk-maroon), var(--kk-saffron));
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(139,30,63,0.4);
}

.kk-btn--maroon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139,30,63,0.5);
  color: #fff;
}

/* ==========================================================================
   13. FORMS
   ========================================================================== */
select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #dccdc0;
  border-radius: var(--kk-radius);
  background: #fff;
  color: var(--kk-ink);
  font: inherit;
  transition: border-color var(--kk-ease), box-shadow var(--kk-ease);
}

select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--kk-gold);
  box-shadow: 0 0 0 3px rgba(212,160,57,0.15);
}

select {
  padding: 0 12px;
}

/* Quick-select bar below nav */
nav .col-md-5 {
  width: min(1180px, calc(100% - 32px));
  margin: -8px auto 14px;
  padding: 10px 14px;
  border: 1px solid rgba(139,30,63,0.14);
  border-radius: var(--kk-radius);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(62,38,19,0.08);
}

nav table,
nav tbody,
nav tr,
nav td,
nav form {
  display: block;
  width: 100%;
}

nav tr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   14. KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes twinkle {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* ==========================================================================
   15. FONT AWESOME ICON REPLACEMENTS (Emoji fallbacks via ::before)
   ========================================================================== */
.fa {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.fa-money::before {
  content: "💰";
}

.fa-pencil::before {
  content: "✏️";
}

.fa-book::before {
  content: "📖";
}

.fa-leaf::before {
  content: "🍃";
}

.fa-cogs::before {
  content: "⚙️";
}

.fa-heart::before {
  content: "❤️";
}

.fa-bars::before {
  content: "☰";
}

.fa-angle-double-up::before {
  content: "⬆";
}

/* ==========================================================================
   16. MAIN LAYOUT IDs
   ========================================================================== */
#header {
  /* Semantic wrapper */
}

#middle {
  padding: 10px 0 40px;
}

#bottom {
  /* Styled via .subscribe and .widget children */
}

#footer {
  /* Styled via .footer */
}

/* ==========================================================================
   17. CLIENTS-COMMENTS (3-column card section)
   Equal-height cards with CSS Grid in the parent .row
   ========================================================================== */
.clients-comments {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--kk-radius-lg);
  border: 1px solid var(--kk-line);
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clients-comments:hover {
  transform: translateY(-6px);
  box-shadow: var(--kk-shadow);
}

.clients-comments h2 {
  font-size: 1.2rem;
  margin: 12px 0;
  color: var(--kk-maroon);
  font-weight: 700;
}

.clients-comments ul {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
}

.clients-comments ul li {
  padding: 4px 0;
  border-bottom: 1px solid var(--kk-line);
}

.clients-comments ul li:last-child {
  border-bottom: none;
}

.clients-comments ul li a {
  color: var(--kk-maroon);
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: color var(--kk-ease);
}

.clients-comments ul li a::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--kk-gold);
  transition: transform var(--kk-ease);
}

.clients-comments ul li a:hover {
  color: var(--kk-saffron);
}

.clients-comments ul li a:hover::before {
  transform: scale(1.4);
}

/* Images inside client comments */
.clients-comments .img-circle,
.clients-comments img {
  margin: 0 auto 12px;
}

/* ==========================================================================
   18. GET-STARTED (Must See Section)
   ========================================================================== */
.get-started {
  padding: 24px 32px;
  border-radius: var(--kk-radius-lg);
  border: 1px solid var(--kk-line);
  background: #fff;
}

.get-started .heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  font-family: var(--kk-font-heading);
}

.get-started p {
  margin-bottom: 14px;
  line-height: 1.7;
}

/* ==========================================================================
   19. SUBSCRIBE / CTA BANNER
   ========================================================================== */
.subscribe {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--kk-maroon) 0%, var(--kk-saffron) 50%, var(--kk-gold) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.subscribe::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer 4s ease-in-out infinite;
}

.subscribe-call-to-acton h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.subscribe-call-to-acton h4 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--kk-font-heading);
  margin-bottom: 12px;
}

.subscribe-call-to-acton a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.subscribe-call-to-acton a:hover {
  opacity: 0.85;
  color: #fff;
}

/* ==========================================================================
   20. FOOTER WIDGET
   ========================================================================== */
.widget {
  margin-bottom: 20px;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.widget h3 {
  font-family: var(--kk-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--kk-maroon) !important;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--kk-gold) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget ul li {
  padding: 5px 0;
  border-bottom: none !important;
  list-style: none;
}

.widget ul li a {
  color: #4a3b32 !important;
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: color var(--kk-ease), transform var(--kk-ease);
}

.widget ul li a::before {
  content: "▪" !important;
  font-size: 0.85rem;
  line-height: 1;
  color: var(--kk-gold) !important;
  transition: transform var(--kk-ease);
}

.widget ul li a:hover {
  color: var(--kk-maroon) !important;
  transform: translateX(4px);
}

/* ==========================================================================
   21. COPYRIGHT FOOTER
   ========================================================================== */
.footer {
  background: var(--kk-deep);
  padding: 16px 0;
}

.copyright {
  padding: 20px 0;
}

.copyright-info {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

.copyright-info a {
  color: var(--kk-gold);
  transition: color var(--kk-ease);
}

.copyright-info a:hover {
  color: #fff;
}

.footer-menu ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: color var(--kk-ease);
}

.footer-menu ul li a:hover {
  color: #fff;
}

.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ==========================================================================
   22. BACK TO TOP
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
}

.back-to-top button,
.back-to-top .btn-primary {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--kk-maroon);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(139,30,63,0.3);
}

.back-to-top button.is-visible,
.back-to-top .btn-primary.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top button:hover,
.back-to-top .btn-primary:hover {
  background: var(--kk-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212,160,57,0.4);
}

/* ==========================================================================
   23. TAB SYSTEM — LAYOUT FIX: Tabs left 280px, Content fills right
   ========================================================================== */
.tab-wrap {
  display: flex;
  gap: 0;
  min-height: 350px;
  border: 1px solid var(--kk-line);
  border-radius: var(--kk-radius-lg);
  background: #fff;
  overflow: hidden;
}

.tab-wrap .media {
  display: flex;
  width: 100%;
  gap: 0;
}

.tab-wrap .parrent.pull-left {
  flex: 0 0 280px;
  min-width: 280px;
  background: var(--kk-cream);
}

.tab-wrap .parrent.media-body {
  flex: 1 1 auto;
}

.nav-tabs.nav-stacked {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  border-right: 3px solid var(--kk-line);
}

.nav-tabs.nav-stacked li {
  margin: 0;
}

.nav-tabs.nav-stacked li a {
  display: block;
  padding: 14px 20px;
  color: var(--kk-muted);
  font-size: 0.9rem;
  font-weight: 600;
  border-left: 3px solid transparent;
  transition: all 0.25s ease;
  text-decoration: none;
}

.nav-tabs.nav-stacked li a:hover {
  color: var(--kk-maroon);
  background: rgba(139,30,63,0.05);
}

.nav-tabs.nav-stacked li.active a {
  color: #fff;
  background: var(--kk-maroon);
  border-left-color: var(--kk-gold);
}

.tab-content {
  padding: 20px 28px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* fade class compatibility */
.tab-pane.fade { display: none; }
.tab-pane.fade.in,
.tab-pane.fade.active { display: block; }

/* ==========================================================================
   KK-TAB — Clean custom tab system (no Bootstrap conflicts)
   ========================================================================== */
.kk-tab-wrap {
  display: flex;
  gap: 0;
  border: 1px solid var(--kk-line);
  border-radius: var(--kk-radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(62,38,19,0.07);
}

/* Sidebar nav */
.kk-tab-nav {
  flex: 0 0 220px;
  background: var(--kk-cream);
  border-right: 1px solid var(--kk-line);
}

.kk-tab-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kk-tab-item a {
  display: block;
  padding: 16px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--kk-muted);
  border-left: 3px solid transparent;
  transition: color var(--kk-ease), background var(--kk-ease), border-color var(--kk-ease);
  text-decoration: none;
}

.kk-tab-item a:hover {
  color: var(--kk-maroon);
  background: rgba(139,30,63,0.04);
}

.kk-tab-item.active a {
  color: #fff;
  background: var(--kk-maroon);
  border-left-color: var(--kk-gold);
  font-weight: 700;
}

/* Content area */
.kk-tab-content {
  flex: 1;
  min-width: 0;
  padding: 28px 32px;
}

/* Individual pane: hidden by default, shown when active */
.kk-tab-pane {
  display: none;
}

.kk-tab-pane.active {
  display: block;
}

/* Inner layout: image left + text right */
.kk-tab-inner {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.kk-tab-img {
  flex: 0 0 180px;
}

.kk-tab-img img {
  width: 180px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--kk-radius);
  border: 1px solid var(--kk-line);
}

.kk-tab-text {
  flex: 1;
}

.kk-tab-text h3 {
  font-family: var(--kk-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--kk-maroon);
  margin-bottom: 12px;
}

.kk-tab-text p {
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--kk-muted);
  margin-bottom: 18px;
}

/* Outline CTA button inside tab */
.kk-btn--outline {
  display: inline-block;
  padding: 9px 22px;
  border: 2px solid var(--kk-maroon);
  border-radius: 6px;
  color: var(--kk-maroon);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--kk-ease), color var(--kk-ease);
}

.kk-btn--outline:hover {
  background: var(--kk-maroon);
  color: #fff;
}

@media (max-width: 980px) {
  .kk-tab-wrap {
    flex-direction: column;
  }

  .kk-tab-nav {
    flex: 0 0 auto;
    border-right: none;
    border-bottom: 1px solid var(--kk-line);
  }

  .kk-tab-nav ul {
    display: flex;
    overflow-x: auto;
  }

  .kk-tab-item a {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 12px 16px;
  }

  .kk-tab-item.active a {
    border-bottom-color: var(--kk-gold);
    border-left: none;
  }

  .kk-tab-inner {
    flex-direction: column;
    gap: 16px;
  }

  .kk-tab-img {
    flex: 0 0 auto;
  }

  .kk-tab-img img {
    width: 100%;
    height: 180px;
  }
}


.tab-pane .media {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}

.tab-pane .pull-left {
  flex: 0 0 200px;
}

.tab-pane .pull-left img {
  width: 200px;
  border-radius: 12px;
}

.tab-pane .media-body {
  flex: 1;
}

.tab-pane .media-body p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--kk-muted);
}

/* ==========================================================================
   24. FEATURES / ASK A QUESTION — GRID FIX: Force 3-column grid
   ========================================================================== */
.features {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px;
  width: 100%;
  border: none;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 0;
}

.features:hover {
  transform: none;
  box-shadow: none;
}

.features .col-md-4 {
  flex: unset;
  width: 100%;
}

.feature-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--kk-radius-lg);
  border: 1px solid var(--kk-line);
  background: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
}

.feature-wrap:hover {
  transform: translateY(-5px);
  box-shadow: var(--kk-shadow);
  border-color: var(--kk-maroon);
}

.feature-wrap .fa {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139,30,63,0.1), rgba(212,160,57,0.1));
  margin-bottom: 16px;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-wrap h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--kk-ink);
  margin: 0;
}

.feature-wrap a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-wrap a::before {
  display: none;
}

/* ==========================================================================
   24b. GET STARTED / MUST SEE SECTION
   ========================================================================== */
.get-started {
  padding: 30px 40px;
  background: #ffffff;
  border: 1px solid var(--kk-line);
  border-radius: var(--kk-radius-lg);
  box-shadow: 0 10px 30px rgba(62,38,19,0.04);
  text-align: left;
}

.get-started h4.heading {
  font-family: var(--kk-font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--kk-maroon);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-align: center;
}

.get-started p {
  color: var(--kk-ink);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--kk-line);
}

.get-started p:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.get-started p a {
  color: var(--kk-maroon);
  font-weight: 700;
  transition: color var(--kk-ease);
}

.get-started p a:hover {
  color: var(--kk-saffron);
  text-decoration: underline;
}

/* ==========================================================================
   25. AD SLOT
   ========================================================================== */
.kk-ad-slot {
  padding: 12px 0;
  text-align: center;
}

.kk-ad-slot + .kk-section {
  padding-top: 10px;
}

/* ==========================================================================
   26. NAVBAR SPACER
   ========================================================================== */
.navbar-spacer {
  height: 104px;
}

/* ==========================================================================
   27. KK-HERO — Cosmic gradient hero with 60/40 layout split
   ========================================================================== */
.kk-hero {
  position: relative;
  padding: 72px 0 40px;
  background: linear-gradient(150deg, var(--kk-deep) 0%, var(--kk-navy) 40%, #14305a 70%, var(--kk-maroon) 100%);
  color: #fff;
  overflow: hidden;
}

/* Star field */
.kk-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 10% 15%, var(--kk-star), transparent),
    radial-gradient(1px 1px at 20% 35%, var(--kk-star), transparent),
    radial-gradient(1.5px 1.5px at 30% 10%, var(--kk-star), transparent),
    radial-gradient(1px 1px at 40% 55%, var(--kk-star), transparent),
    radial-gradient(1.5px 1.5px at 55% 20%, var(--kk-star), transparent),
    radial-gradient(1px 1px at 65% 45%, var(--kk-star), transparent),
    radial-gradient(1px 1px at 75% 8%, var(--kk-star), transparent),
    radial-gradient(1.5px 1.5px at 85% 30%, var(--kk-star), transparent),
    radial-gradient(1px 1px at 90% 60%, var(--kk-star), transparent),
    radial-gradient(1px 1px at 15% 70%, var(--kk-star), transparent),
    radial-gradient(1.5px 1.5px at 50% 80%, var(--kk-star), transparent),
    radial-gradient(1px 1px at 70% 75%, var(--kk-star), transparent),
    radial-gradient(1px 1px at 35% 90%, var(--kk-star), transparent),
    radial-gradient(1.5px 1.5px at 80% 85%, var(--kk-star), transparent);
  animation: twinkle 5s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Cosmic glow orb */
.kk-hero::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,57,0.2), transparent 70%);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.kk-hero > .container {
  position: relative;
  z-index: 1;
}

/* 60/40 split layout */
.kk-hero-split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.kk-hero-split__left {
  flex: 0 0 62%;
}

.kk-hero-about-lead {
  font-size: 1.25rem;
  color: var(--kk-gold);
  font-family: var(--kk-font-heading);
  margin-bottom: 18px;
  line-height: 1.4;
  font-weight: 600;
}

.kk-hero-brand-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--kk-radius);
  max-width: 420px;
}

.kk-hero-brand-pic {
  border-radius: 50%;
  border: 2px solid var(--kk-gold);
  object-fit: cover;
}

.kk-hero-brand-info {
  display: flex;
  flex-direction: column;
}

.kk-hero-brand-info strong {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.kk-hero-brand-info span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.kk-hero-split__right {
  flex: 0 0 35%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Premium Action Cards */
.kk-hero-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--kk-radius-lg);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
  z-index: 1;
}

/* Accent Borders */
.kk-hero-card--gold {
  border: 1.5px solid rgba(212, 160, 57, 0.35);
}
.kk-hero-card--gold:hover {
  border-color: var(--kk-gold);
  box-shadow: 0 12px 30px rgba(212, 160, 57, 0.18);
}

.kk-hero-card--maroon {
  border: 1.5px solid rgba(139, 30, 63, 0.45);
}
.kk-hero-card--maroon:hover {
  border-color: var(--kk-maroon);
  box-shadow: 0 12px 30px rgba(139, 30, 63, 0.22);
}

.kk-hero-card--teal {
  border: 1.5px solid rgba(31, 138, 112, 0.45);
}
.kk-hero-card--teal:hover {
  border-color: var(--kk-teal);
  box-shadow: 0 12px 30px rgba(31, 138, 112, 0.22);
}

/* Background Glow on Hover */
.kk-hero-card__glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}
.kk-hero-card:hover .kk-hero-card__glow {
  opacity: 1;
}

.kk-hero-card:hover {
  transform: translateY(-3px);
}

.kk-hero-card__content {
  flex: 1;
  padding-right: 16px;
}

.kk-hero-card__eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.kk-hero-card--gold .kk-hero-card__eyebrow { color: var(--kk-gold); }
.kk-hero-card--maroon .kk-hero-card__eyebrow { color: #e96d8e; }
.kk-hero-card--teal .kk-hero-card__eyebrow { color: #4adeb9; }

.kk-hero-card h3 {
  font-family: var(--kk-font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.kk-hero-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
  margin: 0;
}

.kk-hero-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.15rem;
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.kk-hero-card__arrow .fa {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.kk-hero-card:hover .kk-hero-card__arrow {
  background: transparent !important;
  color: #fff !important;
  transform: translateX(6px);
}

/* Eyebrow pill badge */
.kk-eyebrow {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(212,160,57,0.2);
  color: var(--kk-gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ==========================================================================
   28. KK-PROOF — Stats boxes inside hero
   ========================================================================== */
.kk-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
  position: relative;
  z-index: 1;
}

.kk-proof__item {
  padding: 18px 16px;
  border-radius: var(--kk-radius);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.3s ease;
}

.kk-proof__item:hover {
  transform: translateY(-3px);
}

.kk-proof__item strong {
  display: block;
  color: var(--kk-gold);
  font-family: var(--kk-font-heading);
  font-size: 1.1rem;
}

.kk-proof__item span {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  margin-top: 3px;
}

/* ==========================================================================
   29. KK-ZODIAC GRID — FORCE 6 COLUMNS
   ========================================================================== */
.kk-zodiac-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.kk-zodiac-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--kk-radius);
  background: #fff;
  border: 1px solid var(--kk-line);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.kk-zodiac-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--kk-shadow);
  border-color: var(--kk-maroon);
}

.kk-zodiac-item:nth-child(odd) {
  border-top: 3px solid var(--kk-maroon);
}

.kk-zodiac-item:nth-child(even) {
  border-top: 3px solid var(--kk-gold);
}

.kk-zodiac-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, var(--kk-cream) 100%);
  border: 1px solid rgba(212, 160, 57, 0.45);
  color: var(--kk-maroon);
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(62, 38, 19, 0.04);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.kk-zodiac-item:hover .kk-zodiac-item__icon {
  transform: scale(1.12) rotate(6deg);
  background: linear-gradient(135deg, var(--kk-maroon) 0%, #a42347 100%);
  border-color: var(--kk-gold);
  color: #fff;
  box-shadow: 0 8px 22px rgba(139, 30, 63, 0.22);
}

.kk-zodiac-item__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-width 0.3s ease;
}

.kk-zodiac-item:hover .kk-zodiac-item__icon svg {
  stroke-width: 2.5;
}

.kk-zodiac-item__name {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--kk-ink);
  margin-bottom: 2px;
}

.kk-zodiac-item__label {
  color: var(--kk-muted);
  font-size: 0.75rem;
}

.kk-zodiac-item a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   30. KK-SECTIONS
   ========================================================================== */
.kk-section {
  padding: 50px 0;
}

/* --- Dark cosmic section --- */
.kk-section--dark {
  background: linear-gradient(150deg, var(--kk-deep) 0%, var(--kk-navy) 50%, #1f1248 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 50px 0;
}

.kk-section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 12% 22%, var(--kk-star), transparent),
    radial-gradient(1px 1px at 28% 48%, var(--kk-star), transparent),
    radial-gradient(1.5px 1.5px at 45% 15%, var(--kk-star), transparent),
    radial-gradient(1px 1px at 62% 55%, var(--kk-star), transparent),
    radial-gradient(1px 1px at 78% 32%, var(--kk-star), transparent),
    radial-gradient(1.5px 1.5px at 88% 68%, var(--kk-star), transparent);
  animation: twinkle 6s ease-in-out infinite alternate;
  pointer-events: none;
}

.kk-section--dark h2,
.kk-section--dark h3,
.kk-section--dark h4,
.kk-section--dark .heading,
.kk-section--dark .heading span {
  color: #fff;
}

.kk-section--dark p,
.kk-section--dark span {
  color: rgba(255,255,255,0.9);
}

.kk-section--dark a {
  color: var(--kk-gold);
  transition: color 0.2s ease;
}

.kk-section--dark a:hover {
  color: #fff;
}

/* Cream section */
.kk-section--cream {
  background: var(--kk-cream);
  border-top: 1px solid var(--kk-line);
  border-bottom: 1px solid var(--kk-line);
}

/* ==========================================================================
   31. MISCELLANEOUS HELPERS
   ========================================================================== */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-md-right {
  text-align: right;
}

.text-white {
  color: #fff;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.media {
  display: flex;
  gap: 20px;
}

.media-body {
  flex: 1;
}

.no-padding {
  padding: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* Mobile ad slot — custom utility (replaces inline header styles) */
.Mob300x250_DeskNone{display:inline-block;width:300px;height:250px;text-align:center}
@media(min-width:600px){.Mob300x250_DeskNone{display:none!important}}
.Mob300x250_DeskNone1{display:inline-block;width:300px;height:100px;text-align:center}
@media(min-width:600px){.Mob300x250_DeskNone1{display:none!important}}

/* Heading helper used in sections */
.heading {
  font-family: var(--kk-font-heading);
  font-weight: 700;
  color: #24140f;
}

/* Service box card (if used) */
.service-box {
  padding: 22px;
  border: 1px solid var(--kk-line);
  border-radius: var(--kk-radius-lg);
  background: #fff;
  transition: transform var(--kk-ease), box-shadow var(--kk-ease);
}

.service-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--kk-shadow);
}

/* ==========================================================================
   32. SCROLL REVEAL
   ========================================================================== */
.js-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Hide mobile components by default on desktop view to completely keep it untouched */
.navbar-mobile-header,
.navbar-backdrop,
.navbar-backdrop-close {
  display: none !important;
}

/* ==========================================================================
   33. RESPONSIVE — Tablet (max-width: 980px)
   ========================================================================== */
@media (max-width: 980px) {
  .row {
    gap: 16px;
  }

  .col-md-9,
  .col-md-8,
  .col-md-7,
  .col-lg-9,
  .col-lg-8,
  .col-lg-7,
  .col-md-4,
  .col-md-6,
  .col-md-3,
  .col-md-5,
  .col-lg-4,
  .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Hero split stacks vertically */
  .kk-hero-split {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .kk-hero-split__left {
    flex: 1 1 auto;
    text-align: center;
  }
  
  .kk-hero-brand-highlight {
    margin: 24px auto 0;
    justify-content: center;
  }

  .kk-hero-split__right {
    flex: 1 1 auto;
    gap: 16px;
  }

  /* Proof grid: 2 columns on tablet */
  .kk-proof {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Zodiac grid: 4 columns on tablet */
  .kk-zodiac-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Off-canvas Left Slide-in Drawer & Navbar Container Stacking Context Fix */
  .navbar-custom.navbar-fixed-top {
    z-index: 2001 !important; /* must be higher than backdrop's 1999 to prevent grey-out/blur overlay */
  }

  .collapse,
  .navbar-collapse,
  .navbar-main-collapse {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: -280px !important; /* hidden off-screen to the left */
    width: 280px !important;
    height: 100vh !important;
    background: #ffffff !important; /* premium white base */
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 2000 !important; /* stays on top of everything */
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important; /* CRITICAL: prevents flex-end from pushing items to bottom */
    overflow-y: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: translateX(0) !important;
  }

  /* Slide-in state */
  .collapse.is-open,
  .navbar-collapse.is-open,
  .navbar-main-collapse.is-open {
    transform: translateX(280px) !important; /* slides in from left! */
  }

  .nav.navbar-nav {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important; /* CRITICAL: removes default Bootstrap vertical margins & eliminates drawer top gap */
    padding: 0 !important;
  }

  /* Override desktop .navbar-right which uses justify-content:flex-end (pushes items to BOTTOM in column layout) */
  .navbar-right {
    justify-content: flex-start !important;
    margin-left: 0 !important;
  }

  .nav.navbar-nav > li {
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid #f2e7db !important; /* thin divider */
  }

  .nav.navbar-nav > li > a {
    color: #18120f !important; /* dark slate text as in screenshot */
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    padding: 16px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-transform: uppercase !important;
    background: #ffffff !important;
    text-decoration: none !important;
    transition: background var(--kk-ease), color var(--kk-ease) !important; /* smooth hover transitions! */
  }

  .nav.navbar-nav > li > a:hover {
    color: var(--kk-maroon) !important;
    background: #faf5f0 !important;
  }

  .navbar-toggle {
    display: flex;
  }

  .navigation {
    justify-content: space-between;
  }

  .navbar-header {
    width: 100% !important;
  }

  /* Tabs stack vertically */
  .tab-wrap .media {
    flex-direction: column;
  }

  .tab-wrap .parrent.pull-left {
    flex: 0 0 auto;
    width: 100%;
    min-width: unset;
  }

  .nav-tabs.nav-stacked {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 3px solid var(--kk-line);
  }

  .nav-tabs.nav-stacked li a {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 10px 16px;
  }

  .nav-tabs.nav-stacked li.active a {
    border-left-color: transparent;
    border-bottom-color: var(--kk-gold);
  }

  /* Features: 2 columns on tablet */
  .features {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Show and make quick horoscope form responsive on mobile */
  .navbar-subbar {
    display: flex !important;
    background: #11072c;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 8px 10px !important;
    width: 100%;
  }

  .subbar-container {
    width: 100% !important;
    padding: 0 4px !important;
    max-width: 100% !important;
  }

  .quick-horoscope-form {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px 10px !important;
    padding: 2px 4px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .quick-horoscope-form__title {
    display: none !important; /* Hide title on mobile to save space */
  }

  .quick-horoscope-form select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 100% !important; /* occupies the entire first row */
    height: 36px !important;
    background: #ffffff !important;
    color: var(--kk-ink) !important;
    border-radius: 6px !important;
    font-size: 0.88rem !important;
  }

  .quick-horoscope-form__intervals {
    display: flex !important;
    gap: 6px 10px !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    flex-wrap: wrap !important;
  }

  .quick-horoscope-form__intervals label {
    font-size: 0.76rem !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    white-space: nowrap !important;
  }

  .quick-horoscope-form__intervals input[type="radio"] {
    margin: 0 !important;
    width: 13px !important;
    height: 13px !important;
  }

  .quick-form-submit {
    height: 32px !important;
    min-height: 32px !important;
    flex: 0 0 auto !important;
    padding: 0 16px !important;
    border-radius: 6px !important;
    margin: 0 !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
  }

  .navbar-spacer {
    height: 142px; /* Adjusted spacer height on mobile for 2-row subbar + main navbar */
  }

  /* Dropdown adjustments for touch & vertical expansion in drawer */
  .dropdown::after {
    display: none !important;
  }

  .caret {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    border: none !important;
    margin-left: 8px !important;
    vertical-align: middle !important;
  }

  .caret::before {
    content: "▼" !important;
    font-size: 0.65rem !important;
    color: #a49b92 !important;
    display: inline-block !important;
    transition: transform 0.25s ease !important;
  }

  .dropdown.is-open .caret::before {
    transform: rotate(180deg) !important;
  }

  .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none !important;
    background: #faf6f2 !important; /* warm light-cream sub-background */
    border: none !important;
    border-top: 1px solid #f2e7db !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    min-width: unset !important;
    max-height: none !important;     /* Reset desktop constraints */
    overflow: visible !important;    /* Reset desktop constraints */
  }

  .dropdown:hover > .dropdown-menu {
    display: none !important; /* disable hover on mobile */
  }

  .dropdown.is-open > .dropdown-menu {
    display: block !important;
  }

  .dropdown-menu li {
    width: 100% !important;
    border-bottom: 1px solid #f9ece0 !important;
  }

  .dropdown-menu li a {
    padding: 12px 30px !important;
    color: #18120f !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    display: block !important;
    text-transform: uppercase !important;
    background: #faf6f2 !important;
    text-decoration: none !important;
    transition: background var(--kk-ease), color var(--kk-ease) !important; /* smooth hover! */
  }

  .dropdown-menu li a:hover {
    color: var(--kk-maroon) !important;
    background: #f5ede4 !important;
  }

  /* Freeze background scroll completely when mobile drawer is open */
  body.menu-open {
    overflow: hidden !important;
    height: 100vh !important;
    position: fixed !important;
    width: 100% !important;
  }

  /* Backdrop Blur Overlay & Mobile Header Elements */
  .navbar-backdrop {
    display: block !important; /* CRITICAL: overrides the desktop hidden state */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 10, 46, 0.4) !important; /* cosmic dark backdrop */
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 1999 !important; /* sits right under the 2000 drawer */
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
  }

  .navbar-backdrop.is-active {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .navbar-backdrop-close {
    display: none !important; /* hidden by default */
  }

  .navbar-backdrop-close.is-active {
    display: flex !important; /* show when active */
    position: fixed !important;
    top: 16px !important;
    right: 16px !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(0, 0, 0, 0.7) !important; /* dark backdrop box exactly like user's screenshot! */
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    font-size: 2.4rem !important; /* larger in size! */
    font-weight: 300 !important;
    line-height: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 2002 !important; /* sits on top of everything! */
    transition: background var(--kk-ease), transform var(--kk-ease) !important;
    outline: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
  }

  .navbar-backdrop-close.is-active:hover {
    background: rgba(0, 0, 0, 0.95) !important;
    transform: scale(1.05) !important;
  }

  /* Solid Red Pill Badges on Mobile */
  .navbar-main-collapse .badge,
  .navbar-main-collapse .custom-badge {
    background-color: #e51e25 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 2px 6px !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    border: none !important;
    margin-left: 8px !important;
    float: none !important;
    display: inline-block !important;
    line-height: 1.2 !important;
  }
}


/* ==========================================================================
   34. RESPONSIVE — Mobile (max-width: 620px)
   ========================================================================== */
@media (max-width: 620px) {
  h1, .h1 {
    font-size: 2rem;
  }

  /* Proof grid: 2 columns on mobile */
  .kk-proof {
    grid-template-columns: 1fr 1fr;
  }

  /* Zodiac grid: 3 columns on mobile */
  .kk-zodiac-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Features: 1 column on mobile */
  .features {
    grid-template-columns: 1fr !important;
  }

  /* Footer menu stays single line */
  .footer-menu ul {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .footer-menu ul li {
    white-space: nowrap;
  }

  .footer-menu ul li a {
    font-size: 0.78rem;
  }

  /* Breadcrumb: strip card look on mobile */
  .breadcrumb {
    background: none;
    border: none;
    padding: 4px 0;
    margin: 4px 0 10px;
    border-radius: 0;
  }

  /* Tab pane content stacks */
  .tab-pane .media {
    flex-direction: column;
  }

  .tab-pane .pull-left {
    flex: 0 0 auto;
  }

  .tab-pane .pull-left img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Half columns on mobile */
  .col-xs-6 {
    flex: 0 0 calc(50% - 8px);
  }

  .col-xs-7 {
    flex: 0 0 58%;
  }

  .col-sm-7,
  .col-sm-3,
  .col-sm-6 {
    flex: 0 0 100%;
  }

  .kk-hero {
    padding: 48px 0 32px;
  }

  .kk-hero__card img {
    width: 140px;
    height: 140px;
  }

  .container {
    padding: 0 16px;
  }

  .get-started {
    padding: 20px 16px;
  }

  .tab-content {
    padding: 16px;
  }
}

/* ==========================================================================
   35. PRINT STYLES
   ========================================================================== */
@media print {
  *,
  *::before,
  *::after {
    background: none !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a {
    color: #000 !important;
    text-decoration: underline !important;
  }

  .navbar,
  .navbar-custom,
  .back-to-top,
  .subscribe,
  .top-bar {
    display: none !important;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  h1, h2, h3, h4 {
    page-break-after: avoid;
  }
}

/* ==========================================================================
   36. FAQ ACCORDION (Image 2 Section)
   ========================================================================== */
.kk-accordion {
  max-width: 860px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kk-accordion-item {
  background: var(--kk-panel);
  border: 1px solid var(--kk-line);
  border-radius: var(--kk-radius-lg);
  box-shadow: 0 4px 15px rgba(62,38,19,0.02);
  overflow: hidden;
  transition: border-color var(--kk-ease), box-shadow var(--kk-ease);
}

.kk-accordion-item:hover {
  border-color: var(--kk-maroon);
  box-shadow: 0 8px 25px rgba(62,38,19,0.06);
}

.kk-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--kk-ink);
  font-family: var(--kk-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  transition: color var(--kk-ease);
}

.kk-accordion-header:hover {
  transform: none;
  box-shadow: none;
  color: var(--kk-maroon);
}

.kk-accordion-icon {
  font-size: 0.95rem;
  color: var(--kk-muted);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(139,30,63,0.05);
}

.kk-accordion-header:hover .kk-accordion-icon {
  color: var(--kk-maroon);
  background: rgba(139,30,63,0.1);
}

.kk-accordion-header[aria-expanded="true"] {
  color: var(--kk-maroon);
}

.kk-accordion-header[aria-expanded="true"] .kk-accordion-icon {
  transform: rotate(180deg);
  background: var(--kk-maroon);
  color: #fff;
}

.kk-accordion-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.kk-accordion-body {
  padding: 0 24px 20px;
  color: var(--kk-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  border-top: 1px dashed var(--kk-line);
  margin-top: 0;
  padding-top: 16px;
}

.kk-accordion-body p {
  margin: 0;
}

/* ==========================================================================
   37. CONSULTATION CTA (Image 2 Section)
   ========================================================================== */
.kk-consultation-cta {
  background: var(--kk-cream);
  border-top: 1px solid var(--kk-line);
  border-bottom: 1px solid var(--kk-line);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

.kk-consultation-cta::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,30,63,0.04), transparent 70%);
  pointer-events: none;
}

.kk-consultation-cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.kk-consultation-cta__content {
  flex: 1;
}

.kk-consultation-cta__content h2 {
  font-family: var(--kk-font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--kk-maroon);
  margin-bottom: 12px;
}

.kk-consultation-cta__content p {
  color: var(--kk-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  max-width: 720px;
}

.kk-consultation-cta__action {
  flex-shrink: 0;
}

.kk-consultation-cta .kk-btn--maroon {
  padding: 14px 32px;
  font-size: 1rem;
}

@media (max-width: 980px) {
  .kk-consultation-cta__box {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  
  .kk-consultation-cta__content p {
    margin: 0 auto;
  }
}

/* ==========================================================================
   38. UNBOXED FOOTER WIDGETS — clean 4 columns, cream background
   ========================================================================== */
#bottom {
  background: var(--kk-cream);
  border-top: 1px solid var(--kk-line);
  padding: 56px 0 32px;
}

/* Force the inner container to remove any inherited box */
#bottom .container {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Make footer row a 4-column horizontal layout */
#bottom .row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  align-items: flex-start;
}

/* Override col-md-3 inside bottom to be exactly 25% each */
#bottom .col-md-3 {
  flex: 0 0 25%;
  width: 25%;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Unbox the widget cards */
#bottom .widget {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin-bottom: 0;
}

#bottom .widget h3 {
  font-family: var(--kk-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--kk-maroon);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--kk-gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#bottom .widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#bottom .widget ul li {
  padding: 5px 0;
  border-bottom: none;
}

#bottom .widget ul li a {
  color: var(--kk-muted);
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color var(--kk-ease), transform var(--kk-ease);
  text-decoration: none;
}

#bottom .widget ul li a::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--kk-gold);
  transition: transform var(--kk-ease);
}

#bottom .widget ul li a:hover {
  color: var(--kk-maroon);
  transform: translateX(4px);
}

#bottom .widget ul li a:hover::before {
  transform: scale(1.5);
}

@media (max-width: 980px) {
  #bottom .row {
    flex-wrap: wrap;
    gap: 24px;
  }

  #bottom .col-md-3 {
    flex: 0 0 calc(50% - 12px);
    width: calc(50% - 12px);
    padding: 0;
  }
}

@media (max-width: 560px) {
  #bottom .col-md-3 {
    flex: 0 0 100%;
    width: 100%;
  }
}

/* ==========================================================================
   39. BREADCRUMBS — High-end horizontal layout
   ========================================================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 6px 16px;
  margin: 6px 0 10px;
  background: var(--kk-cream);
  border: 1px solid var(--kk-line);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  width: 100%;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: var(--kk-muted);
}

.breadcrumb li a {
  color: var(--kk-maroon);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--kk-ease);
}

.breadcrumb li a:hover {
  color: var(--kk-saffron);
}

/* Spacing and elegant gold forward-slash dividers */
.breadcrumb li + li::before {
  content: "/";
  padding: 0 10px;
  color: rgba(212, 160, 57, 0.5);
  font-weight: 400;
}

/* Skip link */
.kk-skip{position:absolute;left:-9999px;top:8px;z-index:9999;padding:10px 16px;background:#fff;color:var(--kk-maroon);border:2px solid var(--kk-maroon);border-radius:6px;font-weight:700}
.kk-skip:focus{left:12px;top:12px}

/* ==========================================================================
   39b. MODERN NAVBAR & RELIABLE DROPDOWNS
   ========================================================================== */
.navbar-custom {
  background: #0b1a30 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
  min-height: 60px;
}

.navbar-custom .navbar-brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
}

.navbar-custom .navbar-brand img {
  max-height: 48px;
  width: auto;
  height: auto;
}

@media (min-width: 981px) {
  .navbar-custom .navbar-nav > li > a {
    color: #ffffff !important;
    padding: 18px 13px !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
  }

  .navbar-custom .navbar-nav > li > a:hover,
  .navbar-custom .navbar-nav > li > a:focus,
  .navbar-custom .navbar-nav > li:hover > a {
    color: #D4A039 !important;
  }
}

.navbar-custom .badge,
.navbar-custom .custom-badge {
  background: #e74c3c !important;
  color: #fff !important;
  font-size: 10px !important;
  padding: 2px 6px !important;
  border-radius: 3px !important;
  margin-right: 4px !important;
}

/* Dropdown Menu styling for Desktop — positioned below the Quick Horoscope Subbar */
.dropdown {
  position: relative !important;
}

/* Short safety bridge */
.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px;
  pointer-events: auto;
}

.dropdown-menu,
.navbar-custom .dropdown-menu {
  position: absolute !important;
  top: 100% !important; /* Starts immediately attached from the upside navbar link */
  left: 0 !important;
  z-index: 1200 !important;
  min-width: 230px !important;
  max-height: min(75vh, 520px) !important;
  overflow-y: auto !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  background: #0b1a30 !important;
  border: 1px solid rgba(212, 160, 57, 0.35) !important;
  border-top: 2px solid #D4A039 !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6) !important;
  list-style: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  display: block !important;
  transform: translateY(2px) !important;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease !important;
  pointer-events: none !important;
}

/* Custom Thin Gold Scrollbar for Dropdown Menus */
.dropdown-menu::-webkit-scrollbar,
.navbar-custom .dropdown-menu::-webkit-scrollbar {
  width: 6px !important;
}
.dropdown-menu::-webkit-scrollbar-track,
.navbar-custom .dropdown-menu::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.25) !important;
  border-radius: 3px !important;
}
.dropdown-menu::-webkit-scrollbar-thumb,
.navbar-custom .dropdown-menu::-webkit-scrollbar-thumb {
  background: #D4A039 !important;
  border-radius: 3px !important;
}

/* Open states: hover on desktop, click class .is-open / .open */
.dropdown:hover > .dropdown-menu,
.dropdown.is-hover > .dropdown-menu,
.dropdown.is-open > .dropdown-menu,
.dropdown.open > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.dropdown-menu > li,
.navbar-custom .dropdown-menu > li {
  list-style: none !important;
  width: 100% !important;
}

.dropdown-menu > li > a,
.navbar-custom .dropdown-menu > li > a {
  display: block !important;
  padding: 9px 20px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.86rem !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  transition: all 0.2s ease !important;
}

.dropdown-menu > li:last-child > a,
.navbar-custom .dropdown-menu > li:last-child > a {
  border-bottom: none !important;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.navbar-custom .dropdown-menu > li > a:hover,
.navbar-custom .dropdown-menu > li > a:focus {
  background: rgba(212, 160, 57, 0.15) !important;
  color: #D4A039 !important;
  padding-left: 24px !important;
}

/* ==========================================================================
   40. UNBOXED CREAM FOOTER & 4-COLUMN WIDGETS (Matching Reference Design)
   ========================================================================== */
#bottom,
.kk-bottom-section {
  background: #FAF5EE !important;
  border-top: 1px solid #ebdcd0 !important;
  padding: 10px 0 44px !important;
  color: #2b1810 !important;
}

#bottom .kk-consultation-cta,
.kk-consultation-cta {
  background: transparent !important;
  border: none !important;
  padding: 40px 0 24px !important;
}

#bottom .kk-consultation-cta__box,
.kk-consultation-cta__box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;
}

#bottom .kk-consultation-cta__content .kk-eyebrow,
.kk-consultation-cta__content .kk-eyebrow {
  color: #D4A039 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
  display: block !important;
}

#bottom .kk-consultation-cta__content h2,
.kk-consultation-cta__content h2 {
  color: #8B1E3F !important;
  font-family: var(--kk-font-heading);
  font-size: 2.1rem !important;
  font-weight: 700 !important;
  margin: 0 0 10px !important;
  letter-spacing: 0.01em !important;
}

#bottom .kk-consultation-cta__content p,
.kk-consultation-cta__content p {
  color: #5d4d42 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  max-width: 680px !important;
}

#bottom .kk-consultation-cta__action .kk-btn,
#bottom .kk-consultation-cta__action a,
.kk-consultation-cta__action .kk-btn,
.kk-consultation-cta__action a {
  background: linear-gradient(135deg, #8B1E3F 0%, #a42347 100%) !important;
  color: #ffffff !important;
  padding: 13px 28px !important;
  border-radius: 8px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 15px rgba(139, 30, 63, 0.3) !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#bottom .kk-consultation-cta__action .kk-btn:hover,
#bottom .kk-consultation-cta__action a:hover,
.kk-consultation-cta__action .kk-btn:hover,
.kk-consultation-cta__action a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(139, 30, 63, 0.45) !important;
  color: #ffffff !important;
}

/* 4-column widget row */
#bottom .container,
.kk-bottom-section .container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#bottom .row,
.kk-bottom-section .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  margin: 16px -15px 0 !important;
  width: 100% !important;
}

#bottom .col-md-3,
.kk-bottom-section .col-md-3 {
  flex: 0 0 25% !important;
  max-width: 25% !important;
  width: 25% !important;
  padding: 0 15px !important;
  box-sizing: border-box !important;
  float: none !important;
}

#bottom .widget,
.kk-bottom-section .widget,
.widget {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 24px !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

#bottom .widget h3,
.kk-bottom-section .widget h3,
.widget h3 {
  color: #8B1E3F !important;
  font-family: var(--kk-font-heading);
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  margin-bottom: 14px !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #D4A039 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

#bottom .widget ul,
.kk-bottom-section .widget ul,
.widget ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#bottom .widget ul li,
.kk-bottom-section .widget ul li,
.widget ul li {
  padding: 5px 0 !important;
  border-bottom: none !important;
  list-style: none !important;
}

#bottom .widget ul li a,
.kk-bottom-section .widget ul li a,
.widget ul li a {
  color: #4a3b32 !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

#bottom .widget ul li a::before,
.kk-bottom-section .widget ul li a::before,
.widget ul li a::before {
  content: "▪" !important;
  color: #D4A039 !important;
  font-size: 0.85rem !important;
  line-height: 1 !important;
  transition: transform 0.2s ease !important;
}

#bottom .widget ul li a:hover,
.kk-bottom-section .widget ul li a:hover,
.widget ul li a:hover {
  color: #8B1E3F !important;
  transform: translateX(4px) !important;
}

/* Footer bottom copyright */
.footer.bg-overlay,
#footer {
  background: #081422 !important;
  border-top: none !important;
  padding: 22px 0 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-top: 0 !important;
}

.copyright-info {
  font-size: 0.86rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-menu ul {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 20px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-menu ul li a {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.86rem !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.footer-menu ul li a:hover {
  color: #D4A039 !important;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  pointer-events: none;
}

.back-to-top .btn-primary,
.back-to-top button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #8B1E3F !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(139, 30, 63, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
  opacity: 0;
  pointer-events: none;
}

.back-to-top .btn-primary:hover,
.back-to-top button:hover {
  background: #D4A039 !important;
  color: #081422 !important;
  transform: translateY(-3px);
}

@media (max-width: 980px) {
  .navbar-custom .navbar-nav > li,
  .nav.navbar-nav > li {
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid #f2e7db !important;
  }

  .navbar-custom .navbar-nav > li > a,
  .nav.navbar-nav > li > a {
    color: #18120f !important;
    background: #ffffff !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    padding: 16px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
  }

  .navbar-custom .navbar-nav > li > a:hover,
  .navbar-custom .navbar-nav > li > a:focus,
  .nav.navbar-nav > li > a:hover,
  .nav.navbar-nav > li > a:focus {
    color: #8B1E3F !important;
    background: #faf5f0 !important;
  }

  .navbar-custom .caret,
  .nav.navbar-nav .caret {
    border-top-color: #888888 !important;
    border-bottom-color: #888888 !important;
  }

  .dropdown-menu,
  .navbar-custom .dropdown-menu {
    position: static !important;
    top: 0 !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    background: #faf6f2 !important;
    border: none !important;
    border-top: 1px solid #f2e7db !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .dropdown.is-open > .dropdown-menu,
  .dropdown.open > .dropdown-menu {
    display: block !important;
  }
  .dropdown-menu > li > a,
  .navbar-custom .dropdown-menu > li > a {
    color: #18120f !important;
    background: #faf6f2 !important;
    padding: 12px 24px !important;
    border-bottom: 1px solid #f9ece0 !important;
  }
  .dropdown-menu > li > a:hover {
    color: #8B1E3F !important;
    background: #f5ede4 !important;
  }

  #bottom .row,
  .kk-bottom-section .row {
    flex-wrap: wrap !important;
  }
  #bottom .col-md-3,
  .kk-bottom-section .col-md-3 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    margin-bottom: 24px;
  }
  .footer-menu ul {
    justify-content: center !important;
    margin-top: 12px !important;
  }
  .copyright-info {
    text-align: center !important;
  }
}

@media (max-width: 560px) {
  #bottom .col-md-3,
  .kk-bottom-section .col-md-3 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* ==========================================================================
   PUJA SIDEBAR WIDGETS
   ========================================================================== */
.kk-puja-sidebar {
  margin-top: 0;
}

.kk-sidebar-widget {
  background: #faf6f2;
  border: 1px solid #ebdcd0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.kk-sidebar-widget h4 {
  color: #8B1E3F;
  font-family: var(--kk-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #D4A039;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kk-sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kk-sidebar-widget ul li {
  padding: 6px 0;
  border-bottom: 1px solid #f2e7db;
}

.kk-sidebar-widget ul li:last-child {
  border-bottom: none;
}

.kk-sidebar-widget ul li a {
  color: #4a3b32;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.kk-sidebar-widget ul li a::before {
  content: "▪";
  color: #D4A039;
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.kk-sidebar-widget ul li a:hover {
  color: #8B1E3F;
  transform: translateX(4px);
}

.kk-form-section {
  background: #faf6f2;
  border: 1px solid #ebdcd0;
  border-radius: 8px;
  padding: 24px;
  margin-top: 24px;
}

.kk-form-section h3 {
  color: #8B1E3F;
  font-family: var(--kk-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #D4A039;
}

@media (max-width: 768px) {
  .kk-sidebar-widget {
    margin-bottom: 16px;
  }
  .col-md-3 .kk-sidebar-widget {
    margin-bottom: 16px;
  }
}

/* ==========================================================================
   41. PUJA DIRECTORY CARDS (links.htm modern theme styling)
   ========================================================================== */
.kk-puja-directory {
  margin: 24px 0 36px 0;
  padding: 0;
}

.kk-puja-directory__header {
  background: linear-gradient(135deg, #8B1E3F 0%, #6b142f 100%);
  color: #ffffff;
  padding: 18px 22px;
  border-radius: 8px 8px 0 0;
  text-align: center;
  border-bottom: 3px solid #D4A039;
}

.kk-puja-directory__header h3 {
  margin: 0 0 4px 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--kk-font-heading, 'Playfair Display', Georgia, serif);
}

.kk-puja-directory__header p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.kk-puja-directory__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  background: #FAF5EE;
  padding: 20px;
  border: 1px solid #ebdcd0;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.kk-puja-dir-card {
  background: #ffffff;
  border: 1px solid #e8dbcf;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.kk-puja-dir-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(139, 30, 63, 0.12);
  border-color: #D4A039;
}

.kk-puja-dir-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fdf8f3;
  padding: 10px 14px;
  border-bottom: 1px solid #ebdcd0;
}

.kk-puja-dir-card__icon {
  color: #D4A039;
  font-size: 1rem;
  line-height: 1;
}

.kk-puja-dir-card__head h4 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #8B1E3F;
  line-height: 1.3;
}

.kk-puja-dir-card__list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  flex-grow: 1;
}

.kk-puja-dir-card__list li {
  margin: 0;
  padding: 0;
}

.kk-puja-dir-card__list li a {
  display: flex;
  align-items: center;
  padding: 6px 14px;
  color: #2c2523;
  font-size: 0.86rem;
  text-decoration: none;
  border-bottom: 1px solid #f9f2eb;
  transition: all 0.18s ease;
}

.kk-puja-dir-card__list li:last-child a {
  border-bottom: none;
}

.kk-puja-dir-card__list li a::before {
  content: "›";
  color: #D4A039;
  font-size: 1.1rem;
  font-weight: 700;
  margin-right: 8px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.kk-puja-dir-card__list li a:hover {
  background: #faf2ea;
  color: #8B1E3F;
  padding-left: 18px;
  font-weight: 600;
}

.kk-puja-dir-card__list li a:hover::before {
  transform: translateX(2px);
  color: #8B1E3F;
}

/* ==========================================================================
   Puja Price Card & Highlights
   ========================================================================== */
.kk-puja-price-card {
  background: linear-gradient(135deg, #fff9f0 0%, #fdf3e7 100%);
  border: 1.5px solid #d4a039;
  border-radius: 10px;
  padding: 20px;
  margin: 24px 0;
  text-align: center;
  box-shadow: 0 4px 16px rgba(212,160,57,0.15);
}
.kk-puja-price-val {
  font-family: var(--kk-font-heading, Georgia, serif);
  font-size: 2rem;
  font-weight: 700;
  color: #8B1E3F;
  margin: 6px 0;
}
.kk-puja-price-val a {
  color: #8B1E3F;
  text-decoration: none;
  border-bottom: 2px dashed #D4A039;
  transition: color 0.2s ease;
}
.kk-puja-price-val a:hover {
  color: #e8722a;
}
.kk-puja-prashad-badge {
  display: inline-block;
  background: #8B1E3F;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(139,30,63,0.25);
}
.kk-puja-hero-card {
  background: #ffffff;
  border: 1px solid #ebdcd0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.kk-puja-deity-frame {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(139,30,63,0.15);
  border: 2px solid #ecd5b8;
  display: inline-block;
}
.kk-puja-deity-frame img {
  border-radius: 6px;
  transition: transform 0.3s ease;
  max-width: 100%;
  height: auto;
}
.kk-puja-deity-frame:hover img {
  transform: scale(1.02);
}

/* ==========================================================================
   Puja & Homam Categorized Directory Component (Modern Vedic Design)
   ========================================================================== */
.kk-puja-directory-wrapper {
  margin: 35px 0 25px 0;
  background: #fffdf9;
  border: 1px solid #ebdcd0;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 4px 20px rgba(128, 0, 0, 0.04);
  clear: both;
  width: 100%;
  box-sizing: border-box;
}

/* Header Banner Card */
.kk-puja-dir-banner {
  background: linear-gradient(135deg, #fff9e6 0%, #fef0b3 50%, #fff9e6 100%);
  border: 1px solid #eed280;
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(184, 134, 11, 0.08);
  position: relative;
}
.kk-dir-badge {
  display: inline-block;
  background: #800000;
  color: #ffffff;
  font-family: var(--kk-font-body, "Inter", "Segoe UI", Arial, sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
  box-shadow: 0 2px 5px rgba(128, 0, 0, 0.18);
}
.kk-puja-dir-banner h3 {
  margin: 0 0 6px 0;
  font-family: var(--kk-font-heading, "Cormorant Garamond", Georgia, serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: #800000;
  letter-spacing: 0.3px;
}
.kk-puja-dir-banner p {
  margin: 0;
  font-family: var(--kk-font-body, "Inter", "Segoe UI", Arial, sans-serif);
  font-size: 0.92rem;
  color: #5a4535;
  font-weight: 500;
}

/* 4-Column Grid */
.kk-puja-cols-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}
.kk-puja-col-item {
  flex: 1 1 calc(25% - 16px);
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Category Card */
.kk-puja-cat-block {
  background: #ffffff;
  border: 1px solid #ebdcd0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kk-puja-cat-block:hover {
  box-shadow: 0 6px 16px rgba(128, 0, 0, 0.09);
  transform: translateY(-2px);
}

/* Category Header */
.kk-puja-cat-head {
  background: linear-gradient(135deg, #800000 0%, #9e1a1a 100%);
  color: #FFFFFF;
  text-align: center;
  font-family: var(--kk-font-body, "Inter", "Segoe UI", Arial, sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 9px 12px;
  border-bottom: 2px solid #e2b96f;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.kk-puja-cat-head .cat-icon {
  font-size: 0.85rem;
  color: #f7d58b;
}

/* Category Links List */
.kk-puja-cat-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.kk-puja-cat-list li {
  padding: 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid #f6eee6;
  list-style-type: none !important;
}
.kk-puja-cat-list li:last-child {
  border-bottom: none;
}
.kk-puja-cat-list li a {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  color: #382e2b;
  text-decoration: none !important;
  font-family: var(--kk-font-body, "Inter", "Segoe UI", Arial, sans-serif);
  font-size: 0.87rem;
  font-weight: 500;
  line-height: 1.35;
  transition: all 0.2s ease;
  background: #ffffff;
}
.kk-puja-cat-list li a .sun-icon {
  color: #c92a2a;
  font-size: 0.85rem;
  margin-right: 8px;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}
.kk-puja-cat-list li a .chevron-icon {
  margin-left: auto;
  color: #d1b89d;
  font-size: 1rem;
  opacity: 0.4;
  transform: translateX(0);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.kk-puja-cat-list li a:hover {
  background-color: #fff8eb;
  color: #800000;
  padding-left: 15px;
}
.kk-puja-cat-list li a:hover .sun-icon {
  color: #e65100;
  transform: scale(1.2) rotate(20deg);
}
.kk-puja-cat-list li a:hover .chevron-icon {
  opacity: 1;
  color: #800000;
  transform: translateX(3px);
}

@media (max-width: 992px) {
  .kk-puja-col-item {
    flex: 1 1 calc(50% - 12px);
  }
}
@media (max-width: 576px) {
  .kk-puja-directory-wrapper {
    padding: 16px 12px;
  }
  .kk-puja-col-item {
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   HOROSCOPE MODERN SYSTEM (Daily, Weekly, Monthly & Main Portal)
   ========================================================================== */
.kk-horo-wrapper {
  margin: 0 auto;
  max-width: 1200px;
}

/* Hero Section */
.kk-horo-hero {
  background: linear-gradient(135deg, #4a060d 0%, #7a121d 60%, #9e1a29 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(122, 18, 29, 0.18);
  position: relative;
  overflow: hidden;
}
.kk-horo-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 151, 50, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.kk-horo-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 151, 50, 0.22);
  color: #ffd88a;
  border: 1px solid rgba(201, 151, 50, 0.4);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.kk-horo-hero h1 {
  color: #ffffff !important;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}
.kk-horo-hero p {
  color: #f7e6d2;
  font-size: 15px;
  max-width: 820px;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Interval Tabs */
.kk-interval-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  background: #fdf6ee;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid #ebd9c5;
}
.kk-interval-tab {
  flex: 1 1 auto;
  text-align: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #665d56;
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.kk-interval-tab:hover {
  background: rgba(122, 18, 29, 0.08);
  color: #7a121d;
}
.kk-interval-tab.active {
  background: #7a121d;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(122, 18, 29, 0.25);
}

/* Sign Switcher Pills */
.kk-sign-switcher {
  background: #ffffff;
  border: 1px solid #ebd9c5;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.kk-sign-switcher__label {
  font-size: 13px;
  font-weight: 700;
  color: #7a121d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.kk-sign-switcher__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.kk-sign-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fdfaf6;
  border: 1px solid #ebd9c5;
  color: #382e2b;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.kk-sign-pill__symbol {
  color: #d4a039;
  font-size: 15px;
  line-height: 1;
}
.kk-sign-pill:hover {
  background: #fdf6ee;
  border-color: #d4a039;
  color: #7a121d;
  transform: translateY(-1px);
}
.kk-sign-pill.active {
  background: linear-gradient(135deg, #7a121d, #9e1a29);
  border-color: #7a121d;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(122, 18, 29, 0.3);
}
.kk-sign-pill.active .kk-sign-pill__symbol {
  color: #ffd88a;
}

/* Horoscope Reading Card */
.kk-horo-card {
  background: #ffffff;
  border: 1px solid #eadfd4;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(62, 38, 19, 0.06);
  padding: 28px 32px;
  margin-bottom: 24px;
}
.kk-horo-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f2e9de;
  margin-bottom: 20px;
}
.kk-horo-card__title {
  font-family: var(--kk-font-heading, serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: #7a121d;
  margin: 0;
}
.kk-horo-card__date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff8eb;
  border: 1px solid #eed6aa;
  color: #8b5e14;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.kk-horo-prediction-text {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #2b2320;
  margin-bottom: 18px;
  padding: 16px 20px;
  background: #fdfaf6;
  border-left: 4px solid #d4a039;
  border-radius: 0 8px 8px 0;
}

/* Date Switcher Navigation */
.kk-date-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
  background: #fdf6ee;
  border: 1px solid #ebd9c5;
  border-radius: 12px;
  padding: 8px 14px;
}
.kk-date-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #ebd9c5;
  border-radius: 8px;
  color: #7a121d;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.kk-date-nav__btn:hover {
  background: #7a121d;
  color: #ffffff !important;
  border-color: #7a121d;
}
.kk-date-nav__current {
  font-size: 14px;
  font-weight: 700;
  color: #382e2b;
}

/* Astrological Metadata Card */
.kk-astro-meta-card {
  background: #fffdfa;
  border: 1px solid #eedfcb;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
}
.kk-astro-meta-badge {
  font-size: 1.1rem;
  font-weight: 700;
  color: #7a121d;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f2e7d7;
}
.kk-astro-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
}
.kk-meta-item {
  font-size: 13px;
  color: #554d47;
}
.kk-meta-item--span {
  grid-column: span 2;
}
.kk-meta-label {
  font-weight: 600;
  color: #7a121d;
}
.kk-meta-val {
  color: #24140f;
  font-weight: 500;
}

/* Sub-sections Grid for Monthly (Career, Love, Health, Advice) */
.kk-aspect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.kk-aspect-card {
  background: #ffffff;
  border: 1px solid #ebd9c5;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.kk-aspect-card h3 {
  font-size: 1.25rem;
  color: #7a121d;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kk-aspect-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #382e2b;
  margin-bottom: 10px;
}

/* 12 Zodiac Sign Hub Grid */
.kk-zodiac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 32px;
}
.kk-zodiac-card {
  background: #ffffff;
  border: 1px solid #eadfd4;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(62, 38, 19, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kk-zodiac-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(122, 18, 29, 0.12);
  border-color: #d4a039;
}
.kk-zodiac-card__img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #d4a039;
  margin-bottom: 12px;
  padding: 2px;
  background: #fffaf3;
}
.kk-zodiac-card__symbol {
  font-size: 1.8rem;
  color: #d4a039;
  line-height: 1;
  margin-bottom: 4px;
}
.kk-zodiac-card__title {
  font-family: var(--kk-font-heading, serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #7a121d;
  margin-bottom: 2px;
}
.kk-zodiac-card__sanskrit {
  font-size: 12px;
  color: #8b5e14;
  font-weight: 600;
  margin-bottom: 6px;
}
.kk-zodiac-card__dates {
  font-size: 12px;
  color: #786f68;
  margin-bottom: 14px;
}
.kk-zodiac-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  width: 100%;
  margin-top: auto;
}
.kk-zodiac-card__btn {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  background: #fdf6ee;
  border: 1px solid #ebd9c5;
  color: #7a121d;
  transition: all 0.2s ease;
}
.kk-zodiac-card__btn:hover {
  background: #7a121d;
  color: #ffffff !important;
  border-color: #7a121d;
}

/* Consultation Banner */
.kk-consult-banner {
  background: linear-gradient(135deg, #fdf6ee 0%, #faecd8 100%);
  border: 1px solid #e8cdab;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 32px 0 24px;
  box-shadow: 0 4px 16px rgba(122, 18, 29, 0.05);
}
.kk-consult-banner h3 {
  color: #7a121d;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.kk-consult-banner p {
  color: #4a3e39;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.kk-consult-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 992px) {
  .kk-zodiac-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kk-aspect-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .kk-zodiac-grid {
    grid-template-columns: 1fr;
  }
  .kk-horo-card {
    padding: 20px 16px;
  }
  .kk-horo-hero {
    padding: 24px 16px;
  }
  .kk-horo-hero h1 {
    font-size: 1.6rem;
  }
  .kk-astro-meta-grid {
    grid-template-columns: 1fr;
  }
  .kk-meta-item--span {
    grid-column: span 1;
  }
}

/* ==========================================================================
   42. ALSO READ & ZODIAC PROFILE LINKS (sun-sign-links.htm)
   ========================================================================== */
.kk-also-read {
  background: #ffffff;
  border: 1px solid #ebdcd0;
  border-radius: 8px;
  padding: 22px 20px;
  margin: 24px auto;
  max-width: 780px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  text-align: center;
  box-sizing: border-box;
}
.kk-also-read__header h3 {
  margin: 0 0 18px 0;
  font-family: var(--kk-font-heading, 'Playfair Display', Georgia, serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #18120f;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
.kk-also-read__header h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 2px;
  background: #D4A039;
  border-radius: 2px;
}
.kk-also-read__nav {
  margin: 0 0 16px 0;
}
ul.kk-also-read__grid,
ul.zodiac-ico {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 20px !important;
  list-style: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  flex-wrap: wrap !important;
}
.kk-also-read__card,
ul.zodiac-ico li {
  list-style: none !important;
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  flex: 0 1 150px !important;
}
.kk-also-read__link {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 14px 12px !important;
  background: #faf6f2 !important;
  border: 1px solid #ebdcd0 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease !important;
  box-sizing: border-box !important;
}
.kk-also-read__link:hover {
  transform: translateY(-3px) !important;
  border-color: #D4A039 !important;
  background: #ffffff !important;
  box-shadow: 0 6px 16px rgba(139, 30, 63, 0.12) !important;
}
.kk-also-read__img {
  width: 72px !important;
  height: 72px !important;
  display: block !important;
  margin: 0 auto 10px auto !important;
  border-radius: 8px !important;
  transition: transform 0.2s ease !important;
}
.kk-also-read__link:hover .kk-also-read__img {
  transform: scale(1.05) !important;
}
.kk-also-read__title {
  display: block !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #8B1E3F !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-decoration: none !important;
}
.kk-also-read__link:hover .kk-also-read__title {
  color: #D4A039 !important;
}
.kk-also-read__horo-grid,
.zodiac-horo-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  gap: 10px !important;
  margin-top: 16px !important;
  padding-top: 18px !important;
  border-top: 1px solid #f0e4d7 !important;
}
.kk-also-read__horo-btn,
.zodiac-horo-grid .ads2018,
.zodiac-horo-grid a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 14px !important;
  background: #faf6f2 !important;
  border: 1px solid #ebdcd0 !important;
  border-radius: 6px !important;
  color: #8B1E3F !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-align: center !important;
  margin: 0 !important;
  transition: all 0.2s ease !important;
  line-height: 1.3 !important;
}
.kk-also-read__horo-btn:hover,
.zodiac-horo-grid .ads2018:hover,
.zodiac-horo-grid a:hover {
  background: #8B1E3F !important;
  color: #ffffff !important;
  border-color: #8B1E3F !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(139, 30, 63, 0.2) !important;
}
@media (max-width: 600px) {
  ul.kk-also-read__grid,
  ul.zodiac-ico {
    gap: 10px !important;
  }
  .kk-also-read__card,
  ul.zodiac-ico li {
    flex: 1 1 calc(33.333% - 10px) !important;
    min-width: 85px !important;
  }
  .kk-also-read__img {
    width: 56px !important;
    height: 56px !important;
  }
  .kk-also-read__title {
    font-size: 0.8rem !important;
  }
  .kk-also-read__horo-grid,
  .zodiac-horo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}







