/* ==========================================================================
   NumeroGPT Modern Cosmic Design System (2025/2026 Edition)
   Theme: Sacred Celestial Numerology • Ultra-Lightweight • High-Conversion
   ========================================================================== */

:root {
  --bg-cosmic-deep: #070512;
  --bg-cosmic-dark: #0e0a24;
  --bg-cosmic-card: rgba(22, 16, 51, 0.75);
  --bg-cosmic-glass: rgba(30, 22, 69, 0.6);
  --bg-cosmic-input: rgba(14, 10, 36, 0.85);

  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-gold-glow: rgba(245, 158, 11, 0.4);
  --accent-gold-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%);

  --accent-violet: #8b5cf6;
  --accent-violet-dark: #6d28d9;
  --accent-violet-glow: rgba(139, 92, 246, 0.35);
  --accent-mystic-gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);

  --text-white: #ffffff;
  --text-silver: #e2e8f0;
  --text-muted: #94a3b8;
  --text-gold: #fbbf24;

  --border-cosmic: rgba(139, 92, 246, 0.22);
  --border-gold: rgba(245, 158, 11, 0.35);

  --shadow-glow-gold: 0 0 25px rgba(245, 158, 11, 0.3);
  --shadow-glow-violet: 0 0 30px rgba(124, 58, 237, 0.25);
  --shadow-card: 0 20px 45px rgba(0, 0, 0, 0.55);

  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Base resets & typography */
body {
  background-color: var(--bg-cosmic-deep) !important;
  color: var(--text-silver);
  font-family: var(--font-family-base);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 70px; /* buffer for sticky mobile bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

/* Cosmic Animated Background Canvas (Pure CSS) */
.cosmic-hero-bg {
  position: relative;
  background: radial-gradient(circle at 50% 20%, #1e1348 0%, #0d0824 50%, #070512 100%);
  overflow: hidden;
  padding: 130px 0 80px;
}

.cosmic-hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 40px 70px, #fbbf24, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 90px 40px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 160px 120px, #c084fc, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 230px 80px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 290px 150px, #f59e0b, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 320px 240px;
  opacity: 0.45;
  pointer-events: none;
  animation: cosmicStarDrift 120s linear infinite;
}

@keyframes cosmicStarDrift {
  from { background-position: 0 0; }
  to { background-position: 1000px 500px; }
}

/* Cosmic Glow Elements */
.cosmic-glow-orb {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.cosmic-glow-orb.top-right {
  top: -100px;
  right: -80px;
  background: rgba(124, 58, 237, 0.22);
}
.cosmic-glow-orb.bottom-left {
  bottom: -150px;
  left: -100px;
  background: rgba(245, 158, 11, 0.15);
}

/* Headers & Navigation Overrides */
.navbar-area {
  background: rgba(10, 7, 26, 0.92) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--border-cosmic);
  transition: all 0.3s ease;
}

.main-nav nav .navbar-nav .nav-item a {
  color: #f1f5f9 !important;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}

.main-nav nav .navbar-nav .nav-item a:hover {
  color: var(--accent-gold-light) !important;
}

.main-nav .dropdown-menu {
  background: #110c2e !important;
  border: 1px solid var(--border-cosmic) !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.7) !important;
  border-radius: 12px !important;
  padding: 10px 0 !important;
}

.main-nav .dropdown-menu li a {
  color: #cbd5e1 !important;
  padding: 8px 20px !important;
}

.main-nav .dropdown-menu li a:hover {
  background: rgba(139, 92, 246, 0.18) !important;
  color: var(--accent-gold-light) !important;
}

/* Brand Buttons & CTAs */
.btn-cosmic-gold {
  background: var(--accent-gold-gradient) !important;
  color: #070512 !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 50px !important;
  padding: 14px 28px !important;
  border: none !important;
  box-shadow: 0 8px 25px var(--accent-gold-glow) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-cosmic-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.5) !important;
  color: #000000 !important;
}

.btn-cosmic-pulse {
  animation: cosmicPulse 2.4s infinite;
}

@keyframes cosmicPulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Glassmorphic Cards */
.cosmic-card {
  background: var(--bg-cosmic-card) !important;
  border: 1px solid var(--border-cosmic) !important;
  border-radius: 20px !important;
  padding: 28px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  color:#fff;
}

.cosmic-card:hover {
  border-color: rgba(245, 158, 11, 0.45) !important;
  box-shadow: var(--shadow-glow-violet);
  transform: translateY(-3px);
  color:#fff;
}

.cosmic-card-gold {
  border-color: var(--border-gold) !important;
  background: linear-gradient(180deg, rgba(32, 22, 69, 0.85) 0%, rgba(17, 12, 43, 0.95) 100%) !important;
}

/* High-Converting Pricing Pill */
.cosmic-price-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.cosmic-price-badge .current-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-gold-light);
}
.cosmic-price-badge .old-price {
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.cosmic-price-badge .discount-tag {
  background: #dc2626;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
}

/* Social Proof Counter Bar */
.trust-banner-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  margin: 15px auto 25px;
  max-width: fit-content;
}

.trust-banner-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-silver);
}
.trust-banner-item .trust-star {
  color: #f59e0b;
}

/* Modern Form Controls */
.cosmic-input, .form-control {
  background-color: var(--bg-cosmic-input) !important;
  border: 1px solid rgba(139, 92, 246, 0.3) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  font-size: 15px !important;
  transition: all 0.2s ease !important;
}

.cosmic-input:focus, .form-control:focus {
  background-color: #17113a !important;
  border-color: var(--accent-gold) !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25) !important;
  outline: none !important;
  color: #ffffff !important;
}

.cosmic-input::placeholder, .form-control::placeholder {
  color: rgba(148, 163, 184, 0.6) !important;
}

/* Custom Select Styling */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px !important;
}

select.form-control option {
  background: #120e2e;
  color: #ffffff;
}

/* Sacred Numerology Glyphs & Badges */
.numero-circle-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle, #7c3aed 0%, #2e1065 100%);
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.35);
  margin: 0 auto 15px;
}

/* Features Grid for 20+ Page Report */
.report-feature-card {
  background: rgba(25, 18, 56, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 14px;
  padding: 18px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.25s ease;
}

.report-feature-card:hover {
  background: rgba(35, 26, 77, 0.75);
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateY(-2px);
}

.report-feature-icon {
  font-size: 26px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sticky Mobile Bottom Bar for High Conversions */
.numerogpt-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 7, 26, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-gold);
  padding: 10px 16px;
  z-index: 9999;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
}

@media (max-width: 991px) {
  .numerogpt-sticky-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
}

.sticky-bar-info {
  display: flex;
  flex-direction: column;
}

.sticky-bar-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.sticky-bar-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-gold-light);
}

.sticky-bar-price strike {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 4px;
}

.sticky-bar-btn {
  background: var(--accent-gold-gradient);
  color: #070512 !important;
  font-weight: 800;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 50px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  animation: cosmicPulse 2.4s infinite;
}

/* Interactive Teaser Calculator Form on Hero */
.hero-instant-box {
  background: linear-gradient(135deg, rgba(28, 19, 64, 0.85) 0%, rgba(14, 10, 36, 0.95) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.hero-instant-box h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

/* FAQ Accordion Styling */
.cosmic-faq .accordion-item {
  background: rgba(18, 12, 44, 0.85) !important;
  border: 1px solid rgba(139, 92, 246, 0.3) !important;
  border-radius: 14px !important;
  margin-bottom: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.cosmic-faq .accordion-item:hover {
  border-color: rgba(251, 191, 36, 0.4) !important;
}

.cosmic-faq .accordion-button {
  background: rgba(26, 18, 62, 0.75) !important;
  background-color: rgba(26, 18, 62, 0.75) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  padding: 18px 22px !important;
  border: none !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  position: relative !important;
  transition: all 0.25s ease !important;
}

.cosmic-faq .accordion-button:hover {
  color: var(--accent-gold) !important;
}

.cosmic-faq .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(38, 25, 95, 0.95) 0%, rgba(24, 16, 62, 0.95) 100%) !important;
  background-color: rgba(38, 25, 95, 0.95) !important;
  color: #fbbf24 !important;
  border-bottom: 1px solid rgba(139, 92, 246, 0.25) !important;
  border-radius: 14px 14px 0 0 !important;
  box-shadow: none !important;
}

.cosmic-faq .accordion-button:before,
.cosmic-faq .accordion-button:not(.collapsed):before {
  display: none !important;
  content: none !important;
}

.cosmic-faq .accordion-button:after {
  content: '+' !important;
  font-family: inherit !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  color: #94a3b8 !important;
  background-image: none !important;
  background: transparent !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  width: auto !important;
  height: auto !important;
  transition: transform 0.25s ease, color 0.25s ease !important;
}

.cosmic-faq .accordion-button:not(.collapsed):after {
  content: '−' !important;
  font-family: inherit !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #fbbf24 !important;
  background-image: none !important;
  background: transparent !important;
  transform: none !important;
}

.cosmic-faq .accordion-collapse {
  background: rgba(14, 10, 36, 0.92) !important;
  background-color: rgba(14, 10, 36, 0.92) !important;
  border: none !important;
  border-radius: 0 0 14px 14px !important;
}

.cosmic-faq .accordion-body {
  background: transparent !important;
  background-color: transparent !important;
  color: #e2e8f0 !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  padding: 20px 24px 24px !important;
  text-align: left !important;
}

/* Footer modern cosmic styling */
footer .footer-upper {
  background: #090618 !important;
  border-top: 1px solid var(--border-cosmic);
}

footer .footer-lower {
  background: #05030e !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer .footer-lower p {
  color: var(--text-muted) !important;
}

/* Subtle Glowing Numbers floating element */
.sacred-glyph {
  font-size: 14px;
  font-weight: 800;
  color: rgba(245, 158, 11, 0.4);
  user-select: none;
  letter-spacing: 2px;
}

/* Cosmic Calculator Styling */
.calculator-area {
  background: var(--bg-cosmic-card) !important;
  border: 1px solid var(--border-cosmic) !important;
  border-radius: 20px !important;
  padding: 35px !important;
  box-shadow: var(--shadow-card) !important;
  backdrop-filter: blur(14px) !important;
  color: var(--text-silver) !important;
  margin-top: 30px;
  margin-bottom: 30px;
}

.calculator-area h2, .calculator-area h3, .calculator-area h4, .calculator-area h5 {
  color: #ffffff !important;
}

.calculator-area h2 {
  font-size: clamp(24px, 3vw, 32px) !important;
  font-weight: 800 !important;
  color: var(--accent-gold-light) !important;
  margin-bottom: 12px;
}

.calculator-area h5 {
  color: #cbd5e1 !important;
  font-weight: 600 !important;
  margin-bottom: 16px !important;
}

.calculator-area p, .calculator-area li {
  color: #cbd5e1 !important;
  line-height: 1.8 !important;
}

.calculator-box {
  background: rgba(14, 10, 36, 0.75) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  border-radius: 16px !important;
  padding: 30px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
  margin-top: 25px;
  margin-bottom: 30px;
}

.calculator-header h3 {
  color: #ffffff !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-bottom: 20px;
}

.calculator-box .form-label {
  color: #f1f5f9 !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  margin-bottom: 8px !important;
}

.calculator-box .btn-success {
  background: var(--accent-gold-gradient) !important;
  border: none !important;
  color: #070512 !important;
  font-weight: 800 !important;
  padding: 12px 28px !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35) !important;
  transition: all 0.25s ease !important;
}

.calculator-box .btn-success:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5) !important;
}

.calculator-box .btn-danger {
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  color: #fca5a5 !important;
  font-weight: 600 !important;
  padding: 12px 22px !important;
  border-radius: 50px !important;
}

.calculator-box .btn-danger:hover {
  background: rgba(239, 68, 68, 0.3) !important;
  color: #ffffff !important;
}

/* AJAX result box */
#show_calculate_name {
  margin-top: 30px !important;
  padding: 28px !important;
  background: linear-gradient(135deg, rgba(28, 19, 68, 0.95) 0%, rgba(14, 10, 36, 0.95) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  border-radius: 16px !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
  color: #f1f5f9 !important;
}

#show_calculate_name h2 {
  color: var(--accent-gold-light) !important;
}

#show_calculate_name h5, #show_calculate_name .sub_heading_tag {
  color: #ffffff !important;
}

#show_calculate_name p {
  color: #cbd5e1 !important;
  line-height: 1.8 !important;
}

/* Upsell banner inside result */
.result-upsell-card {
  background: linear-gradient(135deg, rgba(42, 28, 92, 0.85) 0%, rgba(20, 14, 52, 0.95) 100%);
  border: 2px solid var(--accent-gold);
  border-radius: 16px;
  padding: 24px;
  margin-top: 25px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.25);
}

/* Cosmic Table Styling for Insights */
#show_calculate_name table, .calculator-area table {
  background: rgba(14, 10, 36, 0.7) !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
  border-radius: 12px;
  overflow: hidden;
  margin: 15px 0;
}

#show_calculate_name table td, #show_calculate_name table th,
.calculator-area table td, .calculator-area table th {
  background: transparent !important;
  color: #e2e8f0 !important;
  border-color: rgba(139, 92, 246, 0.2) !important;
  padding: 12px 16px !important;
  font-size: 14.5px;
}

#show_calculate_name table tr:nth-child(even) td {
  background: rgba(139, 92, 246, 0.08) !important;
}

#show_calculate_name table td:first-child {
  font-weight: 600;
  color: var(--accent-gold-light) !important;
  width: 40%;
}

/* ==========================================================================
   GLOBAL HIGH-CONTRAST READABILITY & TYPOGRAPHY SYSTEM
   Ensures 100% crisp readability across all pages, components, & screen sizes
   ========================================================================== */

/* 1. Global Text & Headings */
body, body.theme-dark {
  background-color: var(--bg-cosmic-deep) !important;
  color: #cbd5e1 !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-dark h4, .theme-dark h5, .theme-dark h6 {
  color: #ffffff !important;
  font-weight: 700;
}

p, .theme-dark p {
  color: #cbd5e1 !important;
  line-height: 1.8;
}

li, .theme-dark li {
  color: #cbd5e1 !important;
}

strong, b, .theme-dark strong, .theme-dark b {
  color: #ffffff !important;
}

/* 2. Section Titles & Subtitles */
.section-title h2,
.sub-section-title-heading,
.sub-section-title h2,
.sub-section-title h3,
.sub-section-title h4 {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.section-title small,
.sub-section-title small {
  color: var(--accent-gold-light) !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-title p,
.sub-section-title p {
  color: #cbd5e1 !important;
}

.section-title h2 span,
.sub-section-title-heading span {
  color: var(--accent-gold-light) !important;
}

/* 3. Global Card & Container Backgrounds (Remove all white/light blocks) */
.blog-card,
.feature-card,
.feature-card-2,
.feature-card-3,
.info-box,
.follow-box,
.contact-box,
.side-modal,
.forum-details-block,
.calculator-box,
.calculator-area {
  background: var(--bg-cosmic-card) !important;
  border: 1px solid var(--border-cosmic) !important;
  color: #cbd5e1 !important;
  border-radius: 20px !important;
}

/* 4. Blog Cards & Recent Articles */
.blog-card {
  border-radius: 18px !important;
  padding: 24px !important;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.blog-card:hover {
  border-color: rgba(245, 158, 11, 0.45) !important;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.25) !important;
  transform: translateY(-4px);
}

.blog-card-content h3,
.blog-card-content h3 a,
.theme-dark .blog-card-content h3 a {
  color: #ffffff !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

.blog-card-content h3 a:hover {
  color: var(--accent-gold-light) !important;
}

.blog-card-content p {
  color: #cbd5e1 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.blog-entry p,
.blog-entry-list li {
  color: #94a3b8 !important;
}

.sidebar-title h3 {
  color: var(--accent-gold-light) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  border-bottom: 2px solid rgba(245, 158, 11, 0.3) !important;
  padding-bottom: 8px !important;
  margin-bottom: 20px !important;
}

.recent-article-content h3,
.recent-article-content h3 a {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

.recent-article-content h3 a:hover {
  color: var(--accent-gold-light) !important;
}

.recent-article-item {
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

/* 5. Forum / Blog Details Content */
.forum-details h1, .forum-details h2, .forum-details h3, .forum-details h4, .forum-details h5, .forum-details h6 {
  color: #ffffff !important;
}

.forum-details p {
  color: #cbd5e1 !important;
  line-height: 1.8 !important;
  font-size: 16px !important;
}

.forum-details ul li,
.forum-details ol li {
  color: #cbd5e1 !important;
  line-height: 1.7 !important;
}

.forum-details .blockquote {
  background: rgba(30, 22, 69, 0.6) !important;
  border-left: 4px solid var(--accent-gold) !important;
  color: #e2e8f0 !important;
}

/* 6. Feature Cards on Calculators Hub */
.feature-card-content h3,
.feature-card-content h3 a,
.feature-card-content-light h3,
.feature-card-content-light h3 a {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.feature-card-content h3 a:hover {
  color: var(--accent-gold-light) !important;
}

.feature-card-content h4 {
  color: var(--accent-gold-light) !important;
}

.feature-card-content p,
.feature-card-content-light p {
  color: #cbd5e1 !important;
}

/* 7. About Us Section & Checklists */
.about-section {
  color: #cbd5e1 !important;
}

.about-content-item .section-title h4 {
  color: var(--accent-gold-light) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
}

.about-check-list,
.about-check-list li {
  color: #cbd5e1 !important;
  line-height: 1.8 !important;
}

.about-check-list li::before {
  color: var(--accent-gold) !important;
}

.about_box_bg {
  border: 1px solid var(--border-cosmic) !important;
  background: rgba(22, 16, 51, 0.5) !important;
  border-radius: 20px !important;
  padding: 30px !important;
}

/* 8. Contact Page Info Boxes & Form */
.info-box h3, .follow-box h3 {
  color: #ffffff !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

.info-box-list-label {
  color: var(--accent-gold-light) !important;
  font-weight: 600 !important;
}

.info-box-list-details,
.info-box-list-details a {
  color: #f1f5f9 !important;
}

.info-box-list-details a:hover {
  color: var(--accent-gold-light) !important;
}

/* 9. Testimonials */
.testimonial-content, .testimonial-flat-content {
  color: #cbd5e1 !important;
}

.testimonial-flat-content .testimonial-name {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.testimonial-flat-content .testimonial-designation {
  color: var(--accent-gold-light) !important;
}

.testimonial-para {
  color: #e2e8f0 !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
}

/* 10. Accordion / FAQ Body Readability & Cosmic Theme */
.accordion-item {
  background: rgba(18, 12, 44, 0.85) !important;
  border: 1px solid rgba(139, 92, 246, 0.3) !important;
  border-radius: 14px !important;
  margin-bottom: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
}

.accordion-collapse {
  background: rgba(14, 10, 36, 0.92) !important;
  background-color: rgba(14, 10, 36, 0.92) !important;
  border: none !important;
}

.accordion-body,
.cosmic-faq .accordion-body,
#accordionParent .accordion-body {
  color: #e2e8f0 !important;
  background: transparent !important;
  background-color: transparent !important;
  line-height: 1.8 !important;
  padding: 20px 24px 24px !important;
}

.accordion-button {
  background: rgba(26, 18, 62, 0.75) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  padding: 18px 22px !important;
  border-color: rgba(139, 92, 246, 0.25) !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(38, 25, 95, 0.95) 0%, rgba(24, 16, 62, 0.95) 100%) !important;
  color: #fbbf24 !important;
  border-bottom: 1px solid rgba(139, 92, 246, 0.25) !important;
}

.accordion-button:before,
.accordion-button:not(.collapsed):before {
  display: none !important;
  content: none !important;
}

.accordion-button:after {
  content: '+' !important;
  font-family: inherit !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  color: #94a3b8 !important;
  background-image: none !important;
  background: transparent !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  width: auto !important;
  height: auto !important;
}

.accordion-button:not(.collapsed):after {
  content: '−' !important;
  font-family: inherit !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #fbbf24 !important;
  background-image: none !important;
  background: transparent !important;
}

/* 11. Navigation Links (Sticky & Mobile MeanMenu) */
.navbar-area.is-sticky .main-nav nav .navbar-nav .nav-item a,
.navbar-area-2.is-sticky .main-nav nav .navbar-nav .nav-item a {
  color: #f8fafc !important;
}

.navbar-area.is-sticky .main-nav nav .navbar-nav .nav-item a:hover,
.navbar-area-2.is-sticky .main-nav nav .navbar-nav .nav-item a:hover {
  color: var(--accent-gold-light) !important;
}

.navbar-area.is-sticky .main-brand,
.navbar-area .main-brand {
  opacity: 1 !important;
  display: block !important;
}

.navbar-area.is-sticky .hover-brand,
.navbar-area .hover-brand {
  opacity: 0 !important;
  display: none !important;
}

.mean-container .mean-nav ul li a {
  color: #f8fafc !important;
}

.mean-container .mean-nav ul li a:hover,
.mean-container .mean-nav ul li a.active {
  color: var(--accent-gold-light) !important;
}

/* 12. Side Modal / Drawer */
.side-modal {
  background: #0d0824 !important;
  border-left: 1px solid var(--border-cosmic) !important;
}

.side-modal-close {
  color: #ffffff !important;
}

.side-modal-close:hover {
  color: var(--accent-gold-light) !important;
}

.address-content h3 {
  color: var(--accent-gold-light) !important;
}

.address-list-item,
.address-list-item a {
  color: #cbd5e1 !important;
}

.address-list-item a:hover {
  color: var(--accent-gold-light) !important;
}

/* 13. Form Labels, Inputs & Controls */
label, .form-label, .composer-label {
  color: #f8fafc !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.form-control, .composer-input, input, select, textarea {
  color: #ffffff !important;
  background-color: var(--bg-cosmic-input) !important;
  border-color: rgba(139, 92, 246, 0.35) !important;
}

.form-control::placeholder, input::placeholder, textarea::placeholder {
  color: #94a3b8 !important;
}

.form-check-label {
  color: #cbd5e1 !important;
}

/* 14. Company Info Details (Vision / Mission / Policies) */
.company-info-details p,
.company-info-details li,
.policy-details p,
.policy-details li {
  color: #cbd5e1 !important;
  line-height: 1.8 !important;
}

.color-maincolor {
  color: var(--accent-gold-light) !important;
}

/* 15. Global Text-Muted Contrast Fix (Overriding legacy #313131) */
.text-muted,
.theme-dark .text-muted,
p.text-muted,
span.text-muted,
small.text-muted,
div.text-muted,
.footer-lower .text-muted {
  color: #94a3b8 !important;
}

/* 16. In-Content Links & Hyperlinks (High-contrast electric sky blue / gold hover) */
a {
  color: #38bdf8;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover, a:focus {
  color: var(--accent-gold-light);
}

p a,
.about-section a:not(.btn):not(.mean-expand),
.company-info-section a:not(.btn),
.contact-section a:not(.btn),
.policy-details a:not(.btn),
.terms-content a:not(.btn),
.forum-details a:not(.btn),
.blog-details-section a:not(.btn) {
  color: #070512 !important;
}

p a:hover,
.about-section a:not(.btn):hover,
.company-info-section a:not(.btn):hover,
.contact-section a:not(.btn):hover,
.policy-details a:not(.btn):hover,
.terms-content a:not(.btn):hover,
.forum-details a:not(.btn):hover,
.blog-details-section a:not(.btn):hover {
  color: #000000 !important;
}

/* 17. Nice-Select Dropdown Enhancements */
.nice-select {
  background: var(--bg-cosmic-input) !important;
  border: 1px solid rgba(139, 92, 246, 0.35) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  font-weight: 500 !important;
}

.nice-select:hover,
.nice-select.open,
.nice-select:focus {
  border-color: var(--accent-gold) !important;
  color: #ffffff !important;
}

.nice-select .current {
  color: #ffffff !important;
  font-weight: 500 !important;
}

.nice-select:after {
  border-color: var(--accent-gold-light) !important;
  color: var(--accent-gold-light) !important;
}

.nice-select .list {
  background: #140d38 !important;
  border: 1px solid var(--border-cosmic) !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7) !important;
}

.nice-select .option {
  color: #e2e8f0 !important;
  background-color: transparent !important;
  transition: all 0.2s ease;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
  background-color: rgba(139, 92, 246, 0.35) !important;
  color: var(--accent-gold-light) !important;
}

.nice-select .option.selected {
  background-color: rgba(139, 92, 246, 0.25) !important;
  color: var(--accent-gold-light) !important;
  font-weight: 700 !important;
}

/* 18. Form Validation & Helper Feedback */
.help-block.with-errors,
.with-errors,
.text-danger,
.form-group .help-block {
  color: #f87171 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin-top: 6px !important;
  display: block;
}

.has-error .form-control {
  border-color: #f87171 !important;
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.25) !important;
}

/* 19. Footer Readability & Contrast */
footer,
.footer-upper,
.footer-lower {
  background: #090518 !important;
  color: #cbd5e1 !important;
}

.footer-upper {
  border-top: 1px solid var(--border-cosmic) !important;
  background-image: radial-gradient(circle at 50% 0%, rgba(88, 28, 135, 0.25) 0%, #090518 70%) !important;
}

.footer-content-title h3 {
  color: var(--accent-gold-light) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
}

.footer-details p {
  color: #cbd5e1 !important;
  line-height: 1.7 !important;
  font-size: 14.5px !important;
}

.footer-list li a {
  color: #cbd5e1 !important;
  transition: color 0.2s ease, transform 0.2s ease;
  font-size: 14.5px !important;
}

.footer-list li a:hover {
  color: var(--accent-gold-light) !important;
  padding-left: 4px;
}

.footer-list li:before {
  color: var(--accent-gold) !important;
}

.social-list li a i,
.social-list-gray li a i {
  color: #cbd5e1 !important;
  transition: color 0.2s ease;
}

.social-list li a:hover i,
.social-list-gray li a:hover i {
  color: var(--accent-gold-light) !important;
}

.footer-lower {
  border-top: 1px solid rgba(139, 92, 246, 0.15) !important;
  background: #060216 !important;
}

.footer-lower p,
.footer-copyright-text p {
  color: #94a3b8 !important;
}

/* 20. Scroll-to-Top Button */
.scroll-top {
  z-index: 9999 !important;
}

.scroll-top-inner {
  background: rgba(22, 16, 51, 0.95) !important;
  color: var(--accent-gold-light) !important;
  border: 1px solid var(--border-gold) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
  border-radius: 8px !important;
}

.scroll-top:hover .scroll-top-inner {
  background: var(--accent-gold-gradient) !important;
  color: #070512 !important;
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5) !important;
}

/* 21. Breadcrumb Navigation Contrast */
.breadcrumb .breadcrumb-item,
.breadcrumb .breadcrumb-item.active,
.breadcrumb .breadcrumb-item + .breadcrumb-item:before {
  color: #cbd5e1 !important;
}

.breadcrumb .breadcrumb-item a {
  color: var(--accent-gold-light) !important;
}

.breadcrumb .breadcrumb-item a:hover {
  color: #ffffff !important;
}

/* 22. Legacy Shapes & Containers Clean-up */
.combine-section-shape,
.full-section-shape,
.section-shape-item {
  display: none !important;
}

.border-pink {
  border-bottom: 1px solid var(--border-cosmic) !important;
}

.about_box_bg {
  border: 1px solid var(--border-cosmic) !important;
  background: rgba(22, 16, 51, 0.6) !important;
  border-radius: 20px !important;
  padding: 30px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

/* 23. Blog / Articles Sidebar Items */
.sidebar-item {
  background: var(--bg-cosmic-card) !important;
  border: 1px solid var(--border-cosmic) !important;
  border-radius: 20px !important;
  padding: 24px !important;
}

.sidebar-title h3 {
  color: var(--accent-gold-light) !important;
}

.recent-article-content h3,
.recent-article-content h3 a {
  color: #ffffff !important;
}

.recent-article-content h3 a:hover {
  color: var(--accent-gold-light) !important;
}

.blog-entry-list li {
  color: #94a3b8 !important;
}

.blog-entry-list li i {
  color: var(--accent-gold-light) !important;
}

/* 24. General Tables Readability */
table, .table {
  color: #cbd5e1 !important;
}

table thead th, .table thead th {
  background: rgba(139, 92, 246, 0.25) !important;
  color: #ffffff !important;
  border-color: rgba(139, 92, 246, 0.25) !important;
}

table tbody td, .table tbody td {
  color: #cbd5e1 !important;
  border-color: rgba(139, 92, 246, 0.15) !important;
}

table tbody tr:hover td, .table tbody tr:hover td {
  background-color: rgba(139, 92, 246, 0.1) !important;
}

/* ==========================================================================
   25. Modern Mobile Navigation & Header System (Flawless Responsive UX)
   ========================================================================== */
@media only screen and (max-width: 991px) {
  /* Fix Fixed-Top and Sticky Navbar */
  .fixed-top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1030 !important;
  }

  .navbar-area,
  .navbar-area.sticky-black,
  .navbar-area-2-white,
  .navbar-area.is-sticky {
    background: rgba(10, 7, 28, 0.98) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.25) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6) !important;
    top: 0 !important;
    position: relative !important;
    width: 100% !important;
    height: 60px !important;
  }

  /* Mobile Nav Bar Container */
  .mobile-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 60px !important;
    padding: 0 14px !important;
    position: relative !important;
    background: transparent !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Logo: Always Crisp, Visible and Vertically Centered */
  .mobile-brand {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    z-index: 1035 !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mobile-brand .logo,
  .mobile-brand img,
  .mobile-brand .main-brand,
  .navbar-area.is-sticky .mobile-brand .main-brand {
    height: 28px !important;
    width: auto !important;
    max-width: 135px !important;
    object-fit: contain !important;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
  }

  /* MeanBar: Transparent Shell That Never Blocks Clicks or Covers Logo */
  .mean-container .mean-bar {
    background: transparent !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;
    padding: 0 !important;
    border: none !important;
    pointer-events: none !important;
    z-index: 1031 !important;
  }

  /* Hamburger Toggle: Cleanly Positioned on the Right */
  .mean-container a.meanmenu-reveal {
    pointer-events: auto !important;
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 6px !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background: rgba(139, 92, 246, 0.18) !important;
    border: 1px solid rgba(139, 92, 246, 0.35) !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    z-index: 1036 !important;
    box-sizing: border-box !important;
  }

  .mean-container a.meanmenu-reveal span {
    background-color: var(--accent-gold-light) !important;
    height: 2.5px !important;
    width: 20px !important;
    margin: 2px 0 !important;
    border-radius: 2px !important;
    display: block !important;
  }

  /* Header CTA Button: Placed Right Beside Hamburger */
  .mobile-nav .navbar-option {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 54px !important;
    margin: 0 !important;
    z-index: 1035 !important;
    display: flex !important;
    align-items: center !important;
  }

  .mobile-header-cta,
  .mobile-nav .navbar-option .btn-cosmic-gold {
    padding: 6px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    white-space: nowrap !important;
    letter-spacing: 0.2px !important;
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.35) !important;
  }

  /* MeanMenu Dropdown Drawer */
  .mean-container .mean-nav {
    pointer-events: auto !important;
    position: absolute !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 0 !important;
    background: #0b071e !important;
    border-bottom: 2px solid var(--border-cosmic) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.95) !important;
    max-height: calc(100vh - 70px) !important;
    overflow-y: auto !important;
    z-index: 1040 !important;
  }

  .mean-container .mean-nav ul {
    margin: 0 !important;
    padding: 0 !important;
  }

  .mean-container .mean-nav ul li a {
    color: #f8fafc !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 12px 20px !important;
    border-top: 1px solid rgba(139, 92, 246, 0.12) !important;
    text-transform: none !important;
    display: block !important;
    text-decoration: none !important;
  }

  .mean-container .mean-nav ul li a:hover,
  .mean-container .mean-nav ul li a.active {
    color: var(--accent-gold-light) !important;
    background: rgba(139, 92, 246, 0.15) !important;
    padding-left: 24px !important;
  }

  .mean-container .mean-nav ul li a.mean-expand {
    background: rgba(139, 92, 246, 0.2) !important;
    color: var(--accent-gold-light) !important;
    top: 6px !important;
    right: 15px !important;
    border-radius: 6px !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    text-align: center !important;
    padding: 0 !important;
  }

  /* Inner Page Header Hero Spacing Under 60px Fixed Navbar */
  header.cosmic-hero-bg,
  .cosmic-hero-bg.py-5 {
    padding-top: 85px !important;
    padding-bottom: 35px !important;
  }
}

/* Extra Small Mobile Devices (Screen <= 360px) */
@media only screen and (max-width: 360px) {
  .mobile-brand .logo,
  .mobile-brand img,
  .mobile-brand .main-brand {
    height: 24px !important;
    max-width: 105px !important;
  }
  .mobile-nav .navbar-option {
    right: 48px !important;
  }
  .mobile-header-cta,
  .mobile-nav .navbar-option .btn-cosmic-gold {
    padding: 5px 9px !important;
    font-size: 11px !important;
  }
  .mean-container a.meanmenu-reveal {
    right: 6px !important;
    width: 34px !important;
    height: 34px !important;
  }
}

/* Hide overlapping scroll-top button on mobile to avoid clashing with sticky bar */
@media only screen and (max-width: 768px) {
  .scroll-top {
    display: none !important;
  }
}




