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

:root {
  --primary: #F59E0B;
  --primary-dark: #D97706;
  --text: #1F2937;
  --text-secondary: #6B7280;
  --bg: #FFFFFF;
  --bg-secondary: #F9FAFB;
  --border: #E5E7EB;
  --success: #10B981;
  --error: #EF4444;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

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

.nav-links a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.hero p {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
  transition: background 0.2s;
}

.hero-cta:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: var(--bg);
}

.features h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-secondary);
  padding: 32px;
  border-radius: 12px;
  text-align: center;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.contact h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 16px;
}

.contact-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.submit-btn {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-btn:hover {
  background: var(--primary-dark);
}

.submit-btn:disabled {
  background: var(--text-secondary);
  cursor: not-allowed;
}

.form-success {
  background: #D1FAE5;
  color: #065F46;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 24px;
}

.form-error {
  background: #FEE2E2;
  color: #991B1B;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 24px;
}

/* What We Do Page */
.page-header {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.services {
  padding: 80px 0;
}

.services h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: var(--bg);
}

.about-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 32px;
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

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

/* How It Works */
.how-it-works {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.how-it-works h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.step {
  text-align: center;
  padding: 24px;
}

.step-icon {
  width: 72px;
  height: 72px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  font-weight: 700;
  color: white;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-secondary);
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand h3 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 8px;
}

.footer-brand p {
  color: #9CA3AF;
}

.footer-links h4 {
  margin-bottom: 16px;
}

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

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

.footer-links a {
  color: #9CA3AF;
}

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

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 24px;
  text-align: center;
  color: #9CA3AF;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  .nav-links {
    gap: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .service-item {
    flex-direction: column;
    text-align: center;
  }

  .service-number {
    margin: 0 auto;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Screen reader only class for accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Optional label text */
.optional {
  font-weight: normal;
  color: var(--text-secondary);
  font-size: 14px;
}

/* Service list without bullet styling (for semantic ol/li) */
.service-list {
  list-style: none;
}

.steps {
  list-style: none;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --text: #F9FAFB;
    --text-secondary: #9CA3AF;
    --bg: #111827;
    --bg-secondary: #1F2937;
    --border: #374151;
  }

  .hero {
    background: linear-gradient(135deg, #78350F 0%, #92400E 100%);
  }

  .page-header {
    background: linear-gradient(135deg, #78350F 0%, #92400E 100%);
  }

  .contact-form {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  }

  .footer {
    background: #030712;
  }

  .footer-bottom {
    border-top-color: #1F2937;
  }
}
