/* CSS Variables */
:root {
  --color-primary: #1a365d;
  --color-primary-dark: #0f2440;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-background: #ffffff;
  --color-background-alt: #f9fafb;
  --color-border: #e5e7eb;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-background);
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary-dark);
}

h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.75rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent-hover);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary-dark);
  transition: 0.3s;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* Main Content */
main {
  padding-top: var(--header-height);
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: white;
}

.hero h1 {
  color: white;
  font-size: 3rem;
  max-width: 800px;
}

.hero .tagline {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero p {
  font-size: 1.125rem;
  max-width: 700px;
  opacity: 0.9;
}

/* Page Header */
.page-header {
  padding: 60px 0 40px;
  background: var(--color-background-alt);
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header .subtitle {
  font-size: 1.25rem;
  color: var(--color-text-light);
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--color-background-alt);
}

.section-title {
  margin-bottom: 2rem;
}

/* Problem/Solution Section */
.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 64px 0;
}

.problem, .solution {
  padding: 32px;
  border-radius: 8px;
}

.problem {
  background: #fef2f2;
  border-left: 4px solid #dc2626;
}

.problem h3 {
  color: #991b1b;
}

.solution {
  background: #f0fdf4;
  border-left: 4px solid #16a34a;
}

.solution h3 {
  color: #166534;
}

/* Capabilities Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.capability-card {
  padding: 24px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: box-shadow 0.2s;
}

.capability-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.capability-card h4 {
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.capability-card p {
  color: var(--color-text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Feature List */
.feature-list {
  list-style: none;
  margin: 16px 0;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* Content Sections */
.content-section {
  margin-bottom: 48px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section h2 {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 24px;
}

.content-section h3 {
  color: var(--color-primary);
  margin-top: 32px;
  margin-bottom: 16px;
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* Expertise List */
.expertise-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  list-style: none;
  margin: 24px 0;
}

.expertise-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--color-background-alt);
  border-radius: 6px;
}

.expertise-list li::before {
  content: "\2713";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  font-size: 12px;
  flex-shrink: 0;
}

/* Why Us Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.why-item {
  padding: 24px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.why-item h4 {
  margin-bottom: 8px;
}

.why-item p {
  color: var(--color-text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--color-primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: white;
}

.btn-group {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

/* CTA Section */
.cta-section {
  padding: 64px 0;
  background: var(--color-primary-dark);
  color: white;
  text-align: center;
}

.cta-section h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: 24px;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}

.contact-info h3 {
  margin-top: 0;
}

.contact-info p {
  margin-bottom: 24px;
}

.contact-detail {
  margin-bottom: 16px;
}

.contact-detail strong {
  display: block;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.gov-info {
  margin-top: 32px;
  padding: 24px;
  background: var(--color-background-alt);
  border-radius: 8px;
}

.gov-info h4 {
  margin-bottom: 16px;
}

.gov-info ul {
  list-style: none;
  margin-bottom: 16px;
}

.gov-info li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

.gov-info li:last-child {
  border-bottom: none;
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: white;
  padding: 48px 0 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-brand .logo-text {
  color: white;
  margin-bottom: 8px;
  display: block;
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col h4 {
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  font-size: 0.875rem;
  opacity: 0.6;
  margin: 0;
}

/* Solutions Page */
.solution-area {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border);
}

.solution-area:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.solution-area h3 {
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.solution-area > p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero {
    padding: 60px 0;
  }

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

  .hero .tagline {
    font-size: 1.25rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 24px;
    gap: 0;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .problem-solution {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .capabilities-grid,
  .expertise-list,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    flex-direction: column;
    gap: 32px;
  }
}
