/* Color definition */
:root {
  --base-bg: #f1f1f1;
  --base-white: #fff;
  --base-black: #000;
  --base-darkblue: #1b1f5b;
  --base-lightblue: #3eade3;
  --base-yellow: #ffcb08;
  --base-darkmode-button: #999;
  --base-nav: #e2e2e2;
}

.darkmode {
  --base-bg: #333;
  --base-white: #000;
  --base-black: #fff;
  --base-darkblue: #3eade3;
  --base-lightblue: #1b1f5b;
  --base-yellow: #ffcb08;
  --base-darkmode-button: #696969;
  --base-nav: #252525;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: var(--base-bg);
  color: var(--base-darkblue);
  line-height: 1.6;
  transition: 0.3s;
}

/* WRAPPER to center all content */
.wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* Typography */
h1,
h2,
h3 {
  color: var(--base-darkblue);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 5px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

p,
li {
  font-size: 1rem;
  color: var(--base-black);
}

ol,
ul {
  margin-left: 1.2em;
}

/* Links */
a {
  color: #9c55b8;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  border: 2px solid var(--base-black);
  border-radius: 8px;
  padding-bottom: 10px;
}

.header-inner {
  display: flex;
  align-items: center;
  padding: 25px 0;
}

.logo {
  width: 180px;
  @media screen {
    width: 135px;
  }
  padding-left: 25px;
  padding-right: 25px;
}

.tagline {
  color: var(--base-black);
  @media screen {
    padding-right: 5px;
  }
}

/* Quick Navigation */
.quick-nav {
  display: flex;
  gap: 15px;
  max-width: 70%;
  margin-left: 15% !important;
  justify-content: center;
  margin: 15px 0;
}

.quick-nav ul {
  display: flex;
  border-radius: 4px !important;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.quick-nav li {
  padding: 12px 15px;
  border-radius: 4px !important;
  transition: background 0.2s;
  list-style: none;
  cursor: pointer;
}

.quick-nav li:hover {
  background: #3eade3;
  color: #fff;
  list-style: none;
  cursor: pointer;
}

/* Menu Mobile */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  user-select: none;
  color: var(--base-white);
  background-color: var(--base-darkblue);
  padding: 10px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin: 0 auto;
  }

  .quick-nav {
    align-items: center;
    flex-direction: column;
  }

  .quick-nav ul {
    flex-direction: column;
    display: none;
    background: var(--base-nav);
    border: 1px solid var(--base-bg);
    border-radius: 0px;
    width: 90%;
    max-width: 300px;
    padding: 0px;
  }

  .quick-nav ul.active {
    display: flex;
  }

  .quick-nav li {
    text-align: center;
    border-bottom: 1px solid var(--base-bg);
    font-size: 1rem;
    width: 100%;
  }

  .quick-nav li:last-child {
    border-bottom: none;
    border: none;
  }

  .quick-nav li:hover {
    background: #3eade3;
    color: var(--base-white);
  }
}

/* Support Section */
.support {
  text-align: center;
  margin: 30px 0;
}

.btn {
  display: inline-block;
  border-radius: 6px;
  font-weight: 600;
}

.company-note {
  margin-top: 8px;
  color: var(--base-black);
  font-size: 0.95rem;
}

/* Donate Section */
.donate-button {
  background-color: #ffcb08;
  border-radius: 8px;
  border: none;
  color: #000;
  padding: 8px 32px;
  text-align: center;
  font-weight: 400;
  display: inline-block;
  font-size: 1.5rem;
}

.donate-button:hover {
  text-decoration: none;
  background-color: var(--base-darkblue);
  color: #fff;
}

/* Download Section */
.download-section {
  text-align: center;
  margin: 30px 0;
}

.btn-download {
  background: #3eade3;
  color: #000;
  padding: 16px 32px;
  text-decoration: none;
  text-align: center;
  font-size: 1.5rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.btn-download:hover {
  background: #ffcb08;
  color: #000;
  text-decoration: none;
}

/* Info Sections */
.info-section {
  margin: 30px 0;
}

.info-section h2 {
  border-bottom: 2px solid var(--base-black);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--base-white);
  padding: 15px 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--base-black);
}

/* Dark-Blue Callout Section */
.dark-callout {
  background: #1b1f5b;
  color: #fff;
  padding: 40px 20px;
  margin: 40px 0;
  border-radius: 8px;
}

.dark-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.dark-callout h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #ffcb08
}

.dark-callout p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #fff;
}

.callout-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-download-inverse {
  background: var(--base-white);
  color: var(--base-darkblue);
  padding: 28px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.1s;
}

.btn-download-inverse:hover {
  background: var(--base-white);
  transform: translateY(-2px);
}

.btn-contact {
  font-size: 1.5rem;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-contact:hover {
  background: #fff;
  text-decoration: none;
  color: #230551;
}

/* Acknowledgments Section Overrides (if needed) */
.acknowledgments {
  max-width: 70%;
  margin-left: 15%;
  margin-bottom: 40px;
}

.acknowledgments ul {
  list-style: disc inside;
  margin-top: 10px;
}

.acknowledgments a {
  color: var(--base-lightblue);
}

.acknowledgments a:hover {
  text-decoration: underline;
}

/* Download counter */
.download-counter {
  text-align: right;
  p {
    color: var(--base-darkblue)
  }
}

#theme-switch {
  position: absolute !important;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background-color: rgb(200, 200, 200);
  border: 0px solid var(--base-black);
  display: flex;
  justify-content: center;
  align-items: center;
}


#theme-switch svg {
  fill: #333333;
}

#theme-switch svg:last-child {
  display: none;
}

.darkmode #theme-switch {
  background-color: rgb(132, 132, 132);
}

.darkmode #theme-switch svg {
  fill: #fff
}

.darkmode #theme-switch svg:first-child {
  display: none;
}

.darkmode #theme-switch svg:last-child {
  display: block;
}