:root {
  --page-bg: #fdf7e9;
  --section-bg: #ffffff;
  --accent: #0056a3;          /* primary blue (matches logo) */
  --accent-alt: #f5b400;      /* golden yellow accent */
  --text-main: #222222;
  --text-muted: #555555;
  --border-subtle: #dddddd;
  --border-strong: #bbbbbb;
  --success: #2e7d32;
  --danger: #c62828;
  --max-width: 1100px;
  --radius-lg: 1rem;
  --shadow-soft: 0 4px 12px rgba(0,0,0,0.08);
}

/* Reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--page-bg);
  color: var(--text-main);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Layout helpers */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.mt-lg {
  margin-top: 3rem;
}

/* Header with Maryland flag background */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-image: url("md-flag.png"); /* <-- change to your actual flag filename if needed */
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.site-header-overlay {
  background: rgba(255,255,255,0.92);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px;
  width: auto;
}

/* Nav links */
.nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.2rem;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: #333333;
  border-radius: 999px;
}

/* Hero with Maryland flag background */
.hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  background-image: url("Flag_of_Maryland.png"); /* <-- update filename if different */
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  background: rgba(238, 228, 206, 0.055); /* light overlay so text stays readable */
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}

/* big logo in hero */
.hero-logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.hero-logo {
  max-width: 260px;
  width: 70%;
  height: auto;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.hero p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.1s ease,
    border-color 0.2s ease, transform 0.1s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #003f7a);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.btn-secondary {
  background: #ffffff;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: #ffffff;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Sections */
section {
  padding: 3rem 0;
}

.services-section,
.pricing-section,
.contact-section {
  background: var(--section-bg);
  border-top: 1px solid #eee2c9;
  border-bottom: 1px solid #eee2c9;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
}

.section-lead {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 1.5rem;
}

/* Card grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

/* Pricing Accordion */
.pricing-accordion {
  margin-top: 2rem;
}

.accordion-toggle {
  width: 100%;
  text-align: left;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.accordion-toggle:hover {
  border-color: var(--accent);
}

.accordion-icon {
  font-size: 1.2rem;
}

/* Panels hidden by default */
.accordion-panel {
  display: none;
  margin-bottom: 1rem;
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 0 1.15rem;
  border: 1px solid transparent;
}

/* Visible when .open is added via JS */
.accordion-panel.open {
  display: block;
  padding: 1rem 1.15rem 1.2rem;
  border-color: var(--border-subtle);
}

.pricing-group {
  margin-bottom: 1.2rem;
}

.pricing-group:last-child {
  margin-bottom: 0;
}

.pricing-group h3 {
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
}

.price {
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--accent);
}

.pricing-group ul {
  list-style: disc;
  margin-left: 1.2rem;
  color: var(--text-muted);
}

/* Contact */
.contact-form {
  max-width: 520px;
  margin-top: 1.5rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  padding: 0.7rem 0.75rem;
  border-radius: 0.55rem;
  border: 1
