/*-- -------------------------- -->
<---      Core Dark Styles      -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  :root {
    --dark: #082032;
    --medium: #2C394B;
    --accent: #334756;
  }
  body.dark-mode {
    background-color: #373752;
  }
  body.dark-mode p,
  body.dark-mode li,
  body.dark-mode h1,
  body.dark-mode h2,
  body.dark-mode h3,
  body.dark-mode h4,
  body.dark-mode h5,
  body.dark-mode h6 {
    color: #a6a3a3;
  }
  body.dark-mode .light {
    display: none;
  }
  body.dark-mode .dark {
    display: block !important;
  }
  body.dark-mode #footer {
    background-color: #373752;
  }
  body.dark-mode #cta {
    background-color: #373752;
  }
  body.dark-mode #sidebyside {
    background-color: #373752;
  }
  .dark {
    display: none;
  }
}
/*-- -------------------------- -->
<---      Dark Mode Toggle      -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  body.dark-mode #dark-mode-toggle .sun {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
  body.dark-mode #dark-mode-toggle .moon {
    transform: translate(-50%, -150%);
    opacity: 0;
  }
  #dark-mode-toggle {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 3.75em;
    width: 3em;
    height: 3em;
    background: transparent;
    border: none;
    overflow: hidden;
    padding: 0;
  }
  #dark-mode-toggle img,
  #dark-mode-toggle svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1.5625em;
    height: 1.5625em;
    pointer-events: none;
  }
  #dark-mode-toggle .moon {
    z-index: 2;
    transition: transform .3s, opacity .3s, fill .3s;
    fill: #000;
  }
  #dark-mode-toggle .sun {
    z-index: 1;
    transform: translate(-50%, 100%);
    opacity: 0;
    transition: transform .3s, opacity .3s;
  }
}
/* Desktop */
@media only screen and (min-width: 64em) {
  #dark-mode-toggle {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    margin-left: 1.875em;
    margin-bottom: 0em;
  }
  #dark-mode-toggle .moon {
    fill: #fff;
  }
}

/* Dark mode header styles */
body.dark-mode #navigation {
    background-color: var(--primary); /* Set the header background to purple */
    color: #fff; /* Ensure text in the header is white */
}

body.dark-mode #navigation #navbar-menu ul li a {
    color: #fff !important; /* Ensure navigation links are white */
}

body.dark-mode #navigation .logo img {
    filter: brightness(0) invert(1); /* Optional: Adjust logo for better visibility */
}

body.dark-mode #navigation #navbar-menu ul li a:hover {
    color: var(--primaryShade); /* Optional: Add hover effect with a lighter purple */
}

/* Force FAQ text visible in dark mode */
body.dark-mode .faq *,
body.dark-mode .faq,
body.dark-mode .faq-question,
body.dark-mode .faq-answer,
body.dark-mode .faq-drop,
body.dark-mode .drop,
body.dark-mode .drop-question,
body.dark-mode .drop-answer,
body.dark-mode .accordion,
body.dark-mode .accordion *,
body.dark-mode .accordion-item,
body.dark-mode .accordion-title,
body.dark-mode .accordion-content {
    color: #060606 !important;
}

/* FAQ page background in dark mode */
body.dark-mode #faq {
    background-color: #695b88 !important;
}

