:root {
  --primary: #198754;
  --primary-hover: #146c43;
  --primary-rgb: 25, 135, 84;
  --stripe-bg: rgba(var(--primary-rgb), 0.05);
  --toc-bg: rgba(var(--primary-rgb), 0.1);
}

/* ---- Container & Typography ---- */
.fees-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  color: #333;
}
.fees-content h1,
.fees-content h2,
.fees-content h3 {
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* ---- Table of Contents ---- */
.toc {
  background: var(--toc-bg);
  padding: 1rem;
  border-radius: 0.25rem;
}
.toc ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.toc li {
  margin-bottom: 0.25rem;
}
.toc a {
  color: var(--primary);
  text-decoration: none;
}
.toc a:hover {
  text-decoration: underline;
}

/* ---- Alternating Section Stripes ---- */
.fees-content section:nth-of-type(odd) {
  background: var(--stripe-bg);
  padding: 1.5rem;
  border-radius: 0.25rem;
}

/* ---- Checklist Icons ---- */
.checklist {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 1rem;
}
.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}
.checklist li::before {
  content: url('assets/images/icons/check-circle-green.svg');
  position: absolute;
  left: 0;
  top: 0.1rem;
}

/* ---- Fees Tables ---- */
.fees-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  border: 2px solid var(--primary);
}
.fees-table th,
.fees-table td {
  padding: 0.75rem;
  border: 1px solid #ddd;
  text-align: left;
}
.fees-table th {
  background: var(--primary);
  color: #fff;
}
.fees-table tr:nth-child(odd) {
  background: var(--stripe-bg);
}

/* ---- Accordion ---- */
.accordion {
  margin: 2rem 0;
}
.accordion-toggle {
  display: block;
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem;
  text-align: left;
  border: none;
  border-radius: 0.25rem;
  margin-top: 1rem;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}
.accordion-toggle:hover {
  background: var(--primary-hover);
}
.accordion-toggle::after {
  content: '+';
  position: absolute;
  right: 1rem;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.3s;
}
.accordion-toggle.active {
  background: var(--primary-hover);
}
.accordion-toggle.active::after {
  content: '–';
  transform: rotate(180deg);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-panel.open {
  max-height: 800px; /* adjust if content is longer */
}

/* ---- Fade-In Utility ---- */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-section.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 576px) {
  .logo-img { max-height: 80px !important; }
  .toc,
  .fees-content section {
    padding: 1rem;
  }
  .fees-content h1 { font-size: 1.75rem; }
  .fees-table th, .fees-table td { font-size: 0.9rem; }
}
