/* Import Google Font - Space Grotesk */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --primary-color: mediumpurple;
  --accent-color: cyan;
  --text-color: #2c3e50;
  --bg-color: #ffffff;
  --light-bg: #f8f9fa;
  --border-color: #e1e8ed;
  --min-font-size: 16px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: var(--min-font-size) !important;
  line-height: 1.7 !important;
  color: var(--text-color) !important;
  background-color: var(--bg-color) !important;
}

/* Navigation Styles */
.navbar {
  background-color: white !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  padding: 1rem 0 !important;
}

.navbar-brand {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.navbar-brand img {
  width: 40px !important;
  height: 20px !important;
  box-shadow: none !important;
}

.navbar-menu a {
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: var(--text-color) !important;
  transition: color 0.3s ease !important;
}

.navbar-menu a:hover {
  color: var(--primary-color) !important;
}

.navbar-item {
  list-style: none !important;
}

.navbar-item::before,
.navbar-item::after {
  display: none !important;
}

.navbar-menu .button {
  background-color: transparent !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.5rem !important;
  white-space: nowrap !important;
}

.navbar-menu .button:hover {
  background-color: var(--primary-color) !important;
  color: white !important;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f5f3ff 0%, #e0f7fa 100%) !important;
  padding: 4rem 1.5rem !important;
  margin-bottom: 3rem !important;
}

.hero h1 {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  color: var(--text-color) !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.2 !important;
}

.hero p {
  font-size: 1.1rem !important;
  color: var(--text-color) !important;
  margin-bottom: 2rem !important;
  line-height: 1.7 !important;
}

.hero .button {
  background-color: transparent !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  padding: 0.75rem 2rem !important;
  white-space: nowrap !important;
  transition: all 0.3s ease !important;
}

.hero .button:hover {
  background-color: var(--primary-color) !important;
  color: white !important;
  transform: translateY(-2px) !important;
}

.hero-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero-image img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Table of Contents */
.toc-container {
  margin: 3rem 0 !important;
  padding: 0 !important;
}

.toc-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  justify-content: center !important;
}

.toc-buttons .button {
  background-color: transparent !important;
  border: 2px solid var(--accent-color) !important;
  color: var(--text-color) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  padding: 0.5rem 1.25rem !important;
  white-space: nowrap !important;
  transition: all 0.3s ease !important;
}

.toc-buttons .button:hover {
  background-color: var(--accent-color) !important;
  color: white !important;
}

/* Section Styles */
.section {
  padding: 3rem 1.5rem !important;
}

.section:nth-child(even) {
  background-color: var(--light-bg) !important;
}

.section h2 {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--text-color) !important;
  margin-bottom: 2rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 3px solid var(--primary-color) !important;
}

.section h3 {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  color: var(--text-color) !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
}

.section h4 {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: var(--text-color) !important;
  margin-top: 1.5rem !important;
  margin-bottom: 1rem !important;
}

.section p {
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  margin-bottom: 1.25rem !important;
  color: var(--text-color) !important;
}

.section strong {
  font-weight: 600 !important;
  color: var(--primary-color) !important;
}

/* Lists - Reset default styles first */
ul, ol {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Content Lists Styling */
.content ul {
  margin: 1.5rem 0 !important;
  padding-left: 0 !important;
}

.content ul li {
  position: relative !important;
  padding-left: 2rem !important;
  margin-bottom: 0.75rem !important;
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  list-style: none !important;
}

.content ul li::before {
  content: '•' !important;
  position: absolute !important;
  left: 0.5rem !important;
  color: var(--accent-color) !important;
  font-size: 1.5rem !important;
  font-weight: bold !important;
  line-height: 1 !important;
}

.content ul li::marker {
  display: none !important;
}

.content ol {
  margin: 1.5rem 0 !important;
  padding-left: 0 !important;
  counter-reset: item !important;
}

.content ol li {
  position: relative !important;
  padding-left: 2rem !important;
  margin-bottom: 0.75rem !important;
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  counter-increment: item !important;
  list-style: none !important;
}

.content ol li::before {
  content: counter(item) '.' !important;
  position: absolute !important;
  left: 0.5rem !important;
  color: var(--accent-color) !important;
  font-weight: bold !important;
}

.content ol li::marker {
  display: none !important;
}

/* Navbar and Footer - No markers */
.navbar ul,
.navbar ol,
.footer ul,
.footer ol {
  list-style: none !important;
}

.navbar li,
.footer li {
  list-style: none !important;
}

.navbar li::before,
.navbar li::after,
.navbar li::marker,
.footer li::before,
.footer li::after,
.footer li::marker {
  display: none !important;
  content: none !important;
}

.navbar-start,
.navbar-end {
  list-style: none !important;
}

.navbar-start::before,
.navbar-start::after,
.navbar-end::before,
.navbar-end::after {
  display: none !important;
}

/* Cards */
.card {
  background: white !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  padding: 2rem !important;
  margin-bottom: 2rem !important;
  border-top: 4px solid var(--primary-color) !important;
}

.card-content p {
  font-size: 1.05rem !important;
  color: var(--text-color) !important;
}

/* Tables */
.table-container {
  overflow-x: auto !important;
  margin: 2rem 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.table {
  width: 100% !important;
  background-color: white !important;
  border-collapse: collapse !important;
}

.table thead {
  background-color: var(--primary-color) !important;
  color: white !important;
}

.table thead th {
  padding: 1rem !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  text-align: left !important;
  border: none !important;
  white-space: nowrap !important;
}

.table tbody tr {
  border-bottom: 1px solid var(--border-color) !important;
}

.table tbody tr:hover {
  background-color: var(--light-bg) !important;
}

.table tbody td {
  padding: 1rem !important;
  font-size: 1rem !important;
  color: var(--text-color) !important;
}

.table tbody td strong {
  color: var(--primary-color) !important;
}

/* Images */
.section img {
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  max-width: 100% !important;
  height: auto !important;
}

.section picture {
  display: block !important;
  margin: 2rem auto !important;
}

/* FAQ Section */
.faq-item {
  background: white !important;
  border-radius: 8px !important;
  padding: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  border-left: 4px solid var(--accent-color) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.faq-item h3 {
  color: var(--primary-color) !important;
  margin-top: 0 !important;
}

/* Footer */
.footer {
  background-color: #2c3e50 !important;
  color: white !important;
  padding: 3rem 1.5rem 2rem !important;
  margin-top: 3rem !important;
}

.footer h3 {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: white !important;
  margin-bottom: 1rem !important;
}

.footer ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer ul li {
  margin-bottom: 0.5rem !important;
  list-style: none !important;
}

.footer ul li::before,
.footer ul li::after,
.footer ul li::marker {
  display: none !important;
  content: none !important;
}

.footer a {
  color: white !important;
  text-decoration: none !important;
  font-size: 1rem !important;
  transition: color 0.3s ease !important;
}

.footer a:hover {
  color: var(--accent-color) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-top: 2rem !important;
  padding-top: 1.5rem !important;
  text-align: center !important;
}

.footer-bottom p {
  font-size: 0.95rem !important;
  color: rgba(255, 255, 255, 0.8) !important;
  margin: 0 !important;
}

/* Icons */
.icon {
  color: var(--primary-color) !important;
  margin-right: 0.5rem !important;
}

/* Responsive Design */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: white !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
  }

  .hero h1 {
    font-size: 2rem !important;
  }

  .section h2 {
    font-size: 1.75rem !important;
  }
}

@media screen and (max-width: 768px) {
  .hero {
    padding: 2rem 1rem !important;
  }

  .hero h1 {
    font-size: 1.75rem !important;
  }

  .section {
    padding: 2rem 1rem !important;
  }

  .section h2 {
    font-size: 1.5rem !important;
  }

  .section h3 {
    font-size: 1.25rem !important;
  }

  .toc-buttons {
    flex-direction: column !important;
  }

  .toc-buttons .button {
    width: 100% !important;
  }
}

/* Utility Classes */
.mb-4 {
  margin-bottom: 2rem !important;
}

.mt-4 {
  margin-top: 2rem !important;
}

.text-center {
  text-align: center !important;
}

.has-text-centered {
  text-align: center !important;
}
