/* HealthSage AI Brand Colors */
:root {
  --md-primary-fg-color: #03358C;
  --md-primary-fg-color--light: #0a4ab8;
  --md-primary-fg-color--dark: #022a6e;
  --md-accent-fg-color: #53A57B;
  --md-accent-fg-color--transparent: rgba(83, 165, 123, 0.1);
}

/* Light mode adjustments */
[data-md-color-scheme="default"] {
  --md-typeset-a-color: #03358C;
}

/* Header styling */
.md-header {
  background-color: #03358C;
}

/* Hero section styling */
.md-typeset .hero {
  padding: 1.5rem 0 2rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.md-typeset .hero h1 {
  color: #03358C;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.md-typeset .hero p {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Button styling */
.md-typeset .md-button {
  background-color: #03358C;
  border-color: #03358C;
  color: white;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  margin-right: 0.5rem;
}

.md-typeset .md-button:hover {
  background-color: #022a6e;
  border-color: #022a6e;
}

.md-typeset .md-button--primary {
  background-color: #03358C;
  border-color: #03358C;
}

/* Admonition styling */
.md-typeset .admonition.note,
.md-typeset details.note {
  border-color: #03358C;
}

.md-typeset .note > .admonition-title,
.md-typeset .note > summary {
  background-color: rgba(3, 53, 140, 0.1);
}

.md-typeset .admonition.tip,
.md-typeset details.tip {
  border-color: #53A57B;
}

.md-typeset .tip > .admonition-title,
.md-typeset .tip > summary {
  background-color: rgba(83, 165, 123, 0.1);
}

/* Code block styling */
.md-typeset code {
  background-color: #f5f5f5;
  color: #03358C;
}

.md-typeset pre > code {
  color: inherit;
}

/* Table styling */
.md-typeset table:not([class]) th {
  background-color: #03358C;
  color: white;
}

/* Footer styling */
.md-footer {
  background-color: #03358C;
}

/* Navigation active state */
.md-nav__item--active > .md-nav__link {
  color: #03358C;
}

/* Search highlight */
.md-search-result__meta {
  color: #53A57B;
}

/* Cards for features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 4px 12px rgba(3, 53, 140, 0.15);
  transform: translateY(-2px);
}

.feature-card h3 {
  color: #03358C;
  margin-top: 0;
}

/* CTA Section */
.cta-section {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin: 2rem 0;
}

.cta-section h2 {
  color: #03358C;
  margin-top: 0;
  font-size: 1.3rem;
}

.cta-section p {
  color: #555;
  font-size: 0.9rem;
}

.cta-section .md-button {
  margin: 0.25rem;
}
