@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;600;700&family=Nunito:wght@400;700;800&display=swap');

:root {
  /* Thematic Variables for Diabetes Prevention Education */
  --sugar-balance-surface: #ffffff;
  --sugar-balance-bg: #f8fafc;
  --sugar-balance-tone: #f1f5f9;
  --sugar-balance-tone-hover: #e2e8f0;
  --sugar-balance-ink: #0f172a;
  --sugar-balance-ink-soft: #334155;
  --sugar-balance-edge: #cbd5e1;
  --sugar-balance-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --sugar-balance-gradient: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
  --sugar-balance-gradient-soft: linear-gradient(135deg, rgba(16, 185, 129, 0.9) 0%, rgba(59, 130, 246, 0.9) 100%);
  --sugar-balance-highlight: #f59e0b;
  --sugar-balance-dark: #1e293b;
  
  --font-display: 'Nunito', sans-serif;
  --font-body: 'Mulish', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--sugar-balance-bg);
  color: var(--sugar-balance-ink);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--sugar-balance-ink);
}

a {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* Custom Structure Classes to avoid forbidden names */
.wellness-nav-pane {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.wellness-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.active-nav-link {
  border-bottom: 2px solid var(--sugar-balance-surface);
}

.edu-main-pad {
  padding: 5rem 1.5rem;
}

.edu-max-width {
  max-width: 1200px;
  margin: 0 auto;
}

/* Mobile Menu Setup CSS-Only */
.hamburger-toggle {
  display: none;
}
.hamburger-label {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: white;
  position: relative;
}
.hamburger-icon::before,
.hamburger-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: white;
  transition: all 0.3s;
}
.hamburger-icon::before { top: -8px; }
.hamburger-icon::after { top: 8px; }

@media (max-width: 768px) {
  .hamburger-label { display: block; }
  .wellness-nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--sugar-balance-gradient);
    padding: 1rem 0;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  }
  .hamburger-toggle:checked ~ .wellness-nav-links {
    display: flex;
  }
  .wellness-nav-links a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

/* Accordion FAQ */
.faq-knowledge-box {
  border: 1px solid var(--sugar-balance-edge);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  background-color: var(--sugar-balance-surface);
  overflow: hidden;
}

.faq-knowledge-box summary {
  padding: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
}

.faq-knowledge-box summary::-webkit-details-marker {
  display: none;
}

.faq-knowledge-box summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--sugar-balance-ink-soft);
}

.faq-knowledge-box[open] summary::after {
  content: '-';
}

.faq-knowledge-box-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--sugar-balance-ink-soft);
}

/* Base Inputs */
.health-input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--sugar-balance-edge);
  border-radius: 0.5rem;
  margin-top: 0.25rem;
  font-family: var(--font-body);
}

.health-input-field:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Cookie Banner */
#privacy-cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 6px -1px rgba(0,0,0,0.1);
}
@media (min-width: 768px) {
  #privacy-cookie-notice {
    flex-direction: row;
    justify-content: space-between;
  }
}