body {
  background: var(--bs-white);
}

.navbar {
  background: var(--bs-gray-500);
  height: 64px;
  border-color: var(--bs-secondary);
  border-bottom-style: none;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.navbar .btn-icon-mode {
  background-image: url('../../assets/img/Master%20Banner%20Logo%201630%20x%20480%20-%20Black%20-%20No%20Background.png?h=4be267214c62f714d9fc0e2d439f244e');
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  border: none;
  padding: 0;
}

html[data-bs-theme="dark"] .navbar .btn-icon-mode {
  background-image: url('../../assets/img/Master%20Banner%20Logo%201630%20x%20480%20-%20White%20-%20No%20Background.png?h=102188284184520357e1bb719bd6aabf') !important;
}

@media (min-width: 300px) {
  .flexDiv {
    width: 100%;
    padding-left: 10%;
    padding-right: 10%;
  }
}

@media (min-width: 576px) {
  .flexDiv {
    width: 80%;
  }
}

@media (min-width: 768px) {
  .flexDiv {
    width: 75%;
  }
}

@media (min-width: 992px) {
  .flexDiv {
    width: 60%;
  }
}

@media (min-width: 1200px) {
  .flexDiv {
    width: 60%;
  }
}

@media (min-width: 1400px) {
  .flexDiv {
    width: 50%;
  }
}

.pageHeading {
  padding-top: 12px;
  padding-left: 0px;
  padding-right: 0px;
}

.introSection {
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 12px;
}

.paddedSection {
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 24px;
}

.menuDiv {
  padding-bottom: 12px;
  border-style: solid;
  border-radius: 4px;
  background: rgba(56, 57, 57, 0.25);
  padding-right: 12px;
  padding-left: 12px;
  padding-top: 12px;
}

p {
  font-family: Lato, sans-serif;
  padding-top: 2px;
  padding-right: 6px;
  padding-bottom: 2px;
  padding-left: 6px;
  border-bottom-color: var(--bs-black);
  border-radius: 4px;
}

.bs-icon {
  --bs-icon-size: .75rem;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: var(--bs-icon-size);
  width: calc(var(--bs-icon-size) * 2);
  height: calc(var(--bs-icon-size) * 2);
  color: var(--bs-primary);
}

.bs-icon-xs {
  --bs-icon-size: 1rem;
  width: calc(var(--bs-icon-size) * 1.5);
  height: calc(var(--bs-icon-size) * 1.5);
}

.bs-icon-sm {
  --bs-icon-size: 1rem;
}

.bs-icon-md {
  --bs-icon-size: 1.5rem;
}

.bs-icon-lg {
  --bs-icon-size: 2rem;
}

.bs-icon-xl {
  --bs-icon-size: 2.5rem;
}

.bs-icon.bs-icon-primary {
  color: var(--bs-white);
  background: var(--bs-primary);
}

.bs-icon.bs-icon-primary-light {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), .2);
}

.bs-icon.bs-icon-semi-white {
  color: var(--bs-primary);
  background: rgba(255, 255, 255, .5);
}

.bs-icon.bs-icon-rounded {
  border-radius: .5rem;
}

.bs-icon.bs-icon-circle {
  border-radius: 50%;
}

.Main.Title {
  /*font-family: Lato, sans-serif;*/
  /*font-weight: bold;*/
  /*text-align: center;*/
}

.Main.Title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 3.5rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #1a1a1a;
  margin-top: 40px;
  margin-bottom: 20px;
}

.ParagraphTitle {
  font-family: Lato, sans-serif;
  font-weight: bold;
  padding-top: 12px;
}

.ParaText {
  font-size: 14px;
  padding-top: 8px;
}

/* Tools Menu Icons */

/* --- TOOLS DROPDOWN ICON ALIGNMENT --- */

/* Targets the link inside the dropdown */

.navbar .dropdown-menu .dropdown-item {
  display: flex !important;
  align-items: center !important;
  padding: 8px 16px !important;
  gap: 12px;
}

/* Forces the images to a uniform size */

.nav-tool-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Optional: If icons are too dark in Dark Mode */

[data-bs-theme="dark"] .nav-tool-icon {
  filter: brightness(1.2);
}

/* Keeps Tool icons on the left while the rest of your menu stays right-aligned */

@media (max-width: 767.98px) {
  .navbar #navcol-2 .dropdown-item {
    justify-content: flex-start !important;
    flex-direction: row !important;
  }
}

/* --- DARK MODE ICON INVERSION --- */

[data-bs-theme="dark"] .nav-tool-icon {
  filter: invert(1) brightness(2);
  transition: filter 0.3s ease;
}

/* --- DYNAMIC THEME ICON TOGGLE --- */

/* Hide all icons in the main toggle by default */

.theme-icon-light, .theme-icon-dark, .theme-icon-auto {
  display: none !important;
}

/* Show SUN when html data-bs-theme is 'light' */

[data-bs-theme="light"] .theme-icon-light {
  display: inline-block !important;
}

/* Show MOON when html data-bs-theme is 'dark' */

[data-bs-theme="dark"] .theme-icon-dark {
  display: inline-block !important;
}

/* Show AUTO icon when the theme is explicitly set to auto or not defined */

[data-bs-theme="auto"] .theme-icon-auto {
  display: inline-block !important;
}

.dropdown-item:focus {
  outline: none !important;
  background-color: var(--bs-dropdown-link-hover-bg);
}

.d-dark-block, .d-dark-inline-block {
  display: none !important;
}

[data-bs-theme="dark"] .d-dark-none {
  display: none !important;
}

[data-bs-theme="dark"] .d-dark-block {
  display: block !important;
}

[data-bs-theme="dark"] .d-dark-inline-block {
  display: inline !important;
}

.btn:focus, .nav-link:focus, .dropdown-toggle:focus, .form-select:focus, .form-control:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: inherit;
}

.custom-img-btn {
  --bs-border-color: #0000000;
  text-decoration: none;
  padding: 10px 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-img-btn:hover {
  cursor: pointer;
  background-color: #007bff;
  color: white;
}

.custom-img-btn span {
  color: #000000 !important;
}

/* --- ANALYSTICK INTERACTIVE GRID SECTION --- */

.grid-row-1 {
  display: grid;
  grid-template-columns: 3fr 2fr !important;
  gap: 20px;
  width: 100% !important;
  margin: 24px 0;
}

.grid-row-2 {
  display: grid;
  grid-template-columns: 2fr 3fr !important;
  gap: 20px;
  width: 100% !important;
  margin: 24px 0;
}

.feature-box {
  background: var(--bs-warning);
  padding: 20px;
  padding-bottom: 0px;
  border-radius: 12px;
  border-left: 6px solid #20c997;
  border-bottom: 6px solid #20c997;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
  align-self: start;
  height: min-content;
  min-width: 0;
}

.feature-box h1, .feature-box h2, .feature-box h3, .feature-box h4, .feature-box h5 {
  padding-right: 60px;
  margin-top: 0;
  word-wrap: break-word;
}

#top-box-0 {
  background: var(--bs-border-color-translucent);
  border-left-color: #343a40;
  border-bottom-color: #343a40;
}

#top-box-1 {
  background: rgba(255, 215, 0, 0.3);
  border-left-color: rgba(255, 215, 0);
  border-bottom-color: rgba(255, 215, 0);
}

#top-box-2 {
  background: rgba(0, 188, 226, 0.3);
  border-left-color: rgb(0, 188, 226);
  border-bottom-color: rgb(0, 188, 226);
}

#top-box-3 {
  background: rgba(91, 191, 33, 0.3);
  border-left-color: rgb(91, 191, 33);
  border-bottom-color: rgb(91, 191, 33);
}

#top-box-4 {
  background: rgba(244, 63, 165, 0.3);
  border-left-color: rgb(244, 63, 165);
  border-bottom-color: rgb(244, 63, 165);
}

#top-box-5 {
  background: rgba(111, 66, 193, 0.3);
  border-left-color: rgb(111, 66, 193);
  border-bottom-color: rgb(111, 66, 193);
}

#top-box-6 {
  background: rgba(253, 126, 20, 0.3);
  border-left-color: rgb(253, 126, 20);
  border-bottom-color: rgb(253, 126, 20);
}

[class^=pill-box] {
  display: inline-block !important;
  padding: 6px 16px !important;
  margin: 6px !important;
  border-radius: 50px;
  white-space: normal;
  text-align: center;
  word-break: break-word;
  box-sizing: border-box !important;
  width: auto !important;
}

.pill-box-live {
  font-size: 14px !important;
  background: rgba(13,202,240, 0.5) !important;
}

.pill-box-charts {
  background: rgba(247,127,0, .5) !important;
  font-size: 14px !important;
}

.pill-box-study {
  font-size: 14px !important;
  background: rgba(236,255,22,0.5) !important;
}

.pill-box-news {
  font-size: 14px !important;
  background: rgba(203,129,230, 0.5) !important;
}

.pill-box-find {
  font-size: 14px !important;
  background: rgba(32,201,151, 0.5) !important;
}

.pill-box-0 {
  font-size: 14px !important;
  background: rgba(255,255,255,0.8) !important;
}

.pill-box-1 {
  background: rgba(255, 215, 0, 0.5) !important;
}

.pill-box-2 {
  background: rgba(0, 188, 226, 0.5) !important;
}

.pill-box-3 {
  background: rgb(91, 191, 33, 0.5) !important;
}

.pill-box-4 {
  background: rgba(244, 63, 165, 0.5) !important;
}

.pill-box-5 {
  background: rgba(111, 66, 193, 0.5) !important;
}

.pill-box-6 {
  background: rgba(253, 126, 20, 0.5) !important;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#list-1, #list-2, #list-3, #list-4, #list-5, #list-6, #list-0 {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-left: 0 !important;
  margin-left: 0 !important;
  list-style-type: none !important;
  max-height: 0px !important;
  height: 0px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transition: all 0.4s ease-in-out !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

#list-1.show, #list-2.show, #list-3.show, #list-4.show, #list-5.show, #list-6.show, #list-0.show {
  max-height: 1000px !important;
  height: auto !important;
  opacity: 1 !important;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
  display: flex !important;
}

.btn-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--bs-tertiary-color);
  color: var(--bs-black);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 100;
  pointer-events: auto;
}

#btn-toggle-0 {
  background: #343a40;
  color: #f8f9fa;
}

#btn-toggle-1 {
  background: rgba(255, 215, 0, 1);
}

#btn-toggle-2 {
  background: rgba(0, 188, 226, 1);
}

#btn-toggle-3 {
  background: rgb(91, 191, 33, 1);
}

#btn-toggle-4 {
  background: rgba(244, 63, 165, 1);
}

.btn-toggle.active {
  transform: rotate(45deg);
  background: #212529;
  color: white !important;
}

.btn-toggle:hover {
  background-color: #20c997 !important;
  color: #212529 !important;
}

@media (max-width: 768px) {
  .grid-row-1, .grid-row-2 {
    grid-template-columns: 1fr !important;
    width: 95%;
  }
}

[data-bs-theme="dark"] .feature-box {
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .btn-toggle {
  background: #343a40;
  color: black;
}

[data-bs-theme="dark"] [class*="pill-box"] {
  color: rgba(255,255,255,0.8) !important;
}

/* --- FULLY CONSOLIDATED SEAMLESS BANNER --- */

.banner-wrapper {
  width: 60%;
  margin: 10px auto;
  overflow: hidden;
  background: transparent;
  position: relative;
  /*isolation: isolate;*/
  /*-webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 1) 95%, rgba(0, 0, 0, 0));*/
  /*mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 1) 95%, rgba(0, 0, 0, 0));*/
  max-width: 100%;
  contain: layout;
}

/* This makes the wrapper a reference point for the absolute faders */

.banner-wrapper {
  position: relative;
}

.banner-fader-left, .banner-fader-right {
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  /*Crucial: lets you still hover/click the images underneath;*/
}

.banner-fader-left {
  left: 0;
  background: linear-gradient(to right, var(--bs-white), transparent);
}

.banner-fader-right {
  right: 0;
  background: linear-gradient(to left, var(--bs-white), transparent);
}

/* Update for Dark Mode automatically */

[data-bs-theme="dark"] .banner-fader-left {
  background: linear-gradient(to right, var(--bs-body-bg), transparent);
}

[data-bs-theme="dark"] .banner-fader-right {
  background: linear-gradient(to left, var(--bs-body-bg), transparent);
}

.banner-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  animation: seamless-scroll 13s linear infinite;
  will-change: transform;
  transform-style: flat !important;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /*perspective: 1000px;*/
  perspective: 1000px;
  -webkit-font-smoothing: antialiased;
  -webkit-perspective: 1000px;
}

.banner-group {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center;
  gap: 50px;
  padding-right: 50px;
}

.banner-group img {
  height: 200px;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  display: block;
  object-fit: contain;
  /*background: #e9ecef !important;*/
  border: 1px solid #000000;
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

/* --- BANNER IMAGES: DARK MODE OVERRIDE --- */

[data-bs-theme="dark"] .banner-group img {
  background: #1a1a1a !important;
  border: 1px solid #444444 !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

@keyframes seamless-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.banner-wrapper:hover .banner-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .banner-wrapper {
    width: 95%;
  }
}

@media (max-width: 768px) {
  .banner-group {
    gap: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
  .banner-group img {
    height: 120px;
  }
}

/* --- DROPDOWN HOVER & BASE STYLING --- */

/* --- DROPDOWN HOVER REFINEMENT --- */

/* 1. Show only on hover */

@media (min-width: 768px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block !important;
    margin-top: 0;
    animation: fadeIn 0.2s ease;
  }
}

/* 2. FORCE CLOSE when not hovered (Fixes Screen Recording 15.56.56) */

/* This prevents the 'sticky' menu after a click */

@media (min-width: 768px) {
  .navbar .dropdown:not(:hover) > .dropdown-menu {
    display: none !important;
  }
}

/* Your original bridge */

@media (min-width: 768px) {
  .navbar .theme-switcher .dropdown-toggle::before {
    content: "";
    position: absolute;
    top: 0;
    left: -30px;
    right: -30px;
    bottom: -20px;
    background: transparent;
    z-index: 1;
  }
}

/* RESTORED: High-contrast Dark Mode Border (0.8 opacity) */

[data-bs-theme="dark"] .navbar .dropdown-menu {
  background-color: #212529 !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 10px 30px rgba(240,240,240,0.3) !important;
}

@media (min-width: 768px) {
  .navbar .theme-switcher .dropdown-menu {
    left: auto !important;
    right: 0 !important;
    margin-top: 12px !important;
    min-width: 100px !important;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add shadow to standard dropdowns in light mode */

@media (min-width: 768px) {
  .navbar .dropdown-menu {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
  }
}

/* --- THE ORIGINAL WORKING TRIANGLES --- */

.navbar .dropdown-menu::before, .navbar .dropdown-menu::after {
  content: "" !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 9px solid transparent !important;
  border-right: 9px solid transparent !important;
  display: block !important;
}

.navbar .dropdown-menu:not(.dropdown-menu-end)::before, .navbar .dropdown-menu:not(.dropdown-menu-end)::after {
  left: 20px !important;
}

.navbar .dropdown-menu-end::before, .navbar .dropdown-menu-end::after {
  right: 12px !important;
  left: auto !important;
}

.navbar .dropdown-menu::after {
  top: -10px !important;
  border-bottom: 10px solid rgba(0, 0, 0, 0.1) !important;
  z-index: 1001 !important;
}

.navbar .dropdown-menu::before {
  top: -8px !important;
  border-bottom: 10px solid #ffffff !important;
  z-index: 1002 !important;
}

/* RESTORED: High-contrast Dark Mode Triangle (0.8 opacity) */

[data-bs-theme="dark"] .navbar .dropdown-menu::after {
  border-bottom-color: rgba(255, 255, 255, 0.8) !important;
}

[data-bs-theme="dark"] .navbar .dropdown-menu::before {
  border-bottom-color: #212529 !important;
}

/* --- BREAKPOINT SYNCED NAV LOGIC --- */

.analy-nav {
  overflow: visible !important;
}

/* 1. Mobile First: Give it tight margins/padding on iPhones */

.analy-nav {
  padding-left: 12px !important;
  padding-right: 12px !important;
}

/* 2. Desktop Enhancement: Restore the wide padding on larger screens */

@media (min-width: 768px) {
  .analy-nav {
    padding-left: 48px !important;
    padding-right: 48px !important;
  }
}

/* 1. MOBILE HAMBURGER MENU (MAX-WIDTH 767px) */

@media (max-width: 767.98px) {
  .analy-nav #navcol-2.navbar-collapse.show, .analy-nav #navcol-2.navbar-collapse.collapsing {
    display: block !important;
    position: absolute !important;
    right: 10px !important;
    top: 60px !important;
    width: 250px !important;
    /*PRESERVED: Your updated width;*/
    height: auto !important;
    background-color: var(--bs-body-bg) !important;
    border: 1px solid var(--bs-border-color-translucent) !important;
    border-radius: 12px !important;
    padding: 15px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.40) !important;
    z-index: 1050 !important;
    transition: none !important;
  }
}

/* High-contrast mobile border for dark mode (0.8 opacity) */

@media (max-width: 767.98px) {
  [data-bs-theme="dark"] .analy-nav #navcol-2.navbar-collapse.show {
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 10px 30px rgba(240,240,240, 0.3) !important;
  }
}

@media (max-width: 767.98px) {
  .analy-nav #navcol-2 .navbar-nav {
    flex-direction: column !important;
    align-items: flex-end !important;
    width: 100% !important;
  }
}

/* Mobile Headers - FLEXBOX CENTERED ONLY FOR MOBILE */

@media (max-width: 767.98px) {
  .analy-nav #navcol-2 .nav-link, .analy-nav #navcol-2 .theme-switcher .dropdown-toggle {
    text-align: right !important;
    width: 100% !important;
    padding: 8px 30px 8px 10px !important;
    position: relative !important;
    font-weight: 700 !important;
    color: var(--bs-emphasis-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-height: 44px !important;
  }
}

@media (max-width: 767.98px) {
  .analy-nav #navcol-2 .dropdown-menu {
    position: static !important;
    float: none !important;
    display: none;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    transform: none !important;
  }
}

@media (max-width: 767.98px) {
  .analy-nav #navcol-2 .dropdown-menu.show {
    display: block !important;
  }
}

/* Mobile Submenu Items (Terms, Privacy, Light, Dark, Auto) */

@media (max-width: 767.98px) {
  .analy-nav #navcol-2 .dropdown-item {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 45px 10px 10px !important;
    background: transparent !important;
    font-weight: 400 !important;
    font-size: 1rem !important;
    color: var(--bs-emphasis-color) !important;
  }
}

@media (max-width: 767.98px) {
  .analy-nav #navcol-2 .dropdown-menu::before, .analy-nav #navcol-2 .dropdown-menu::after {
    display: none !important;
  }
}

/* Mobile Theme Switcher: Highlight Active State (Blue) */

@media (max-width: 767.98px) {
  .analy-nav #navcol-2 .theme-switcher .dropdown-item.active {
    color: #0d6efd !important;
    font-weight: 700 !important;
    background-color: transparent !important;
  }
}

/* Force the icon (Sun/Moon) to also turn blue when active */

@media (max-width: 767.98px) {
  .analy-nav #navcol-2 .theme-switcher .dropdown-item.active i, .analy-nav #navcol-2 .theme-switcher .dropdown-item.active svg, .analy-nav #navcol-2 .theme-switcher .dropdown-item.active .bs-icon {
    color: #0d6efd !important;
  }
}

/* MOBILE ARROW: Using Flexbox Centering */

@media (max-width: 767.98px) {
  .analy-nav #navcol-2 .dropdown-toggle::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    border-top: 5px solid currentColor !important;
    border-right: 5px solid transparent !important;
    border-left: 5px solid transparent !important;
    margin: 0 !important;
  }
}

/* Precise alignment for mobile links without arrows */

@media (max-width: 767.98px) {
  .analy-nav #navcol-2 .nav-link:not(.dropdown-toggle) {
    padding-right: 23px !important;
  }
}

/* 2. DESKTOP NAV (MIN-WIDTH 768px) */

@media (min-width: 768px) {
  .analy-nav #navcol-2.navbar-collapse {
    position: static !important;
    display: flex !important;
    background: transparent !important;
    padding: 0 !important;
  }
}

@media (min-width: 768px) {
  .analy-nav #navcol-2 .navbar-nav {
    flex-direction: row !important;
    margin-left: auto !important;
    align-items: center !important;
  }
}

@media (min-width: 768px) {
  .analy-nav .theme-switcher {
    margin-left: 15px !important;
    display: flex !important;
    align-items: center !important;
  }
}

/* Insertion point below */

/* --- THEME SWITCHER: FINAL INTEGRATED ALIGNMENT & STYLE --- */

/* 1. Fix the Icon & Small Toggle Triangle (Screenshot 14.51.24 Fix) */

@media (min-width: 768px) {
  .analy-nav .theme-switcher .dropdown-toggle {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    color: #495057 !important;
    line-height: 1 !important;
    transform: translateY(-2px) !important;
    position: relative !important;
  }
}

/* Fix the small blue triangle next to the sun icon */

@media (min-width: 768px) {
  .analy-nav .theme-switcher .dropdown-toggle::after {
    content: "" !important;
    display: inline-block !important;
    border-top: 5px solid currentColor !important;
    border-right: 5px solid transparent !important;
    border-left: 5px solid transparent !important;
    margin-left: 8px !important;
    margin-top: 0 !important;
    position: relative !important;
    top: -1px !important;
  }
}

/* 2. Fix the Dropdown Box (White background, pinned right) */

@media (min-width: 768px) {
  .analy-nav .theme-switcher .dropdown-menu {
    display: none;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    margin-top: 15px !important;
    min-width: 160px !important;
    background-color: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    padding: 8px 0 !important;
    transform: none !important;
    z-index: 2000 !important;
  }
}

/* Show on Hover */

@media (min-width: 768px) {
  .analy-nav .theme-switcher:hover .dropdown-menu {
    display: block !important;
  }
}

/* 3. The Pointer Arrow (Pinned exactly under the Sun) */

@media (min-width: 768px) {
  .analy-nav .theme-switcher .dropdown-menu::before, .analy-nav .theme-switcher .dropdown-menu::after {
    content: "" !important;
    position: absolute !important;
    right: 14px !important;
    left: auto !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 9px solid transparent !important;
    border-right: 9px solid transparent !important;
  }
}

@media (min-width: 768px) {
  .analy-nav .theme-switcher .dropdown-menu::after {
    top: -10px !important;
    border-bottom: 10px solid #dee2e6 !important;
    z-index: 2001 !important;
  }
}

@media (min-width: 768px) {
  .analy-nav .theme-switcher .dropdown-menu::before {
    top: -8px !important;
    border-bottom: 10px solid #ffffff !important;
    z-index: 2002 !important;
  }
}

/* 4. Item Fonts & Dark Mode Override */

.analy-nav .theme-switcher .dropdown-item {
  font-family: 'Lato', sans-serif !important;
  padding: 10px 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: #444444 !important;
  font-weight: 500 !important;
}

.analy-nav .theme-switcher .dropdown-item.active {
  color: #0d6efd !important;
  background-color: transparent !important;
  font-weight: 700 !important;
}

[data-bs-theme="dark"] .analy-nav .theme-switcher .dropdown-toggle {
  color: #ffffff !important;
}

[data-bs-theme="dark"] .analy-nav .theme-switcher .dropdown-menu {
  background-color: #212529 !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 10px 30px rgba(240,240,240, 0.3) !important;
}

[data-bs-theme="dark"] .analy-nav .theme-switcher .dropdown-menu::before {
  border-bottom-color: #212529 !important;
}

[data-bs-theme="dark"] .analy-nav .theme-switcher .dropdown-item {
  color: #ffffff !important;
}

/* Fix: Ensure the Blue highlight wins over White in Dark Mode desktop */

[data-bs-theme="dark"] .analy-nav .theme-switcher .dropdown-item.active {
  color: #0d6efd !important;
  font-weight: 700 !important;
}

/* Also ensure the icon inside the active item turns blue in Dark Mode */

[data-bs-theme="dark"] .analy-nav .theme-switcher .dropdown-item.active .theme-icon-light, [data-bs-theme="dark"] .analy-nav .theme-switcher .dropdown-item.active .theme-icon-dark, [data-bs-theme="dark"] .analy-nav .theme-switcher .dropdown-item.active .theme-icon-auto {
  color: #0d6efd !important;
}

/* --- FAQ ACCORDION CUSTOMIZATION --- */

.faq-container {
  width: 60%;
  margin: 60px auto;
}

.faq-item {
  background-color: #f8f9fa !important;
  border: 2px solid #6c757d !important;
  border-radius: 12px !important;
  margin-bottom: 15px;
  overflow: hidden;
}

/* Remove default Bootstrap background and shadows from the button */

.faq-btn.accordion-button {
  background-color: transparent !important;
  color: #000000 !important;
  font-family: Lato, sans-serif;
  font-weight: bold;
  box-shadow: none !important;
  padding: 20px;
}

/* Make the text black in light mode */

.faq-btn.accordion-button:not(.collapsed) {
  color: #000000 !important;
}

/* Accordion body text */

.accordion-body p {
  color: #333333 !important;
  border: none !important;
  padding-top: 0;
}

/* --- DARK MODE OVERRIDES --- */

[data-bs-theme="dark"] .faq-item {
  background-color: #212529 !important;
  border-color: #adb5bd !important;
}

[data-bs-theme="dark"] .faq-btn.accordion-button {
  color: #ffffff !important;
}

[data-bs-theme="dark"] .accordion-body p {
  color: #ffffff !important;
}

/* Match the accordion icon color to your text */

[data-bs-theme="dark"] .accordion-button::after {
  filter: invert(1) grayscale(1) brightness(2);
}

/* Mobile Width Adjustment */

@media (max-width: 768px) {
  .faq-container {
    width: 95%;
  }
}

/* Bottom Images */

.bottom-img {
  width: 100%;
  height: 350px;
  object-fit: contain;
  padding: 10px;
}

/* BUTTON FAKE */

/* STATIC BUTTON LOOKALIKE FOR HEADERS OF SINGLE PAGES */

.static-pill {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 8px !important;
  /*background: rgb(236, 255, 22) !important;*/
  /*border: 2px solid rgb(236, 255, 22) !important;*/
  margin-right: 15px;
  vertical-align: middle;
  line-height: 1 !important;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: bold !important;
  font-size: 8px !important;
  color: #000000 !important;
  text-transform: none !important;
}

.static-pill img {
  order: -1 !important;
  width: 20px !important;
  height: 20px !important;
  margin-bottom: 2px !important;
  object-fit: contain;
}

.static-pill {
  font-size: 8px !important;
  font-weight: bold !important;
  color: #000000 !important;
  text-transform: none !important;
}

/* Keep the image column only as wide as the image itself */

.col-img {
  flex: 0 0 auto !important;
  width: auto !important;
  padding-right: 20px;
}

.side-img {
  width: 80px !important;
  height: auto;
  display: block;
  flex-shrink: 0;
}

/* When the site is in dark mode, invert the image colors */

[data-bs-theme=dark] .side-img {
  filter: invert(1) brightness(2);
}

.uniform-img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block;
}

/* Let the text column take up all remaining space */

.col-text {
  flex: 1 1 0 !important;
}

