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

:root {
  --color-primary: #5733C1;
  --color-secondary: #998033;
  --color-accent: #7DD161;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8F9FA;
  --color-text: #212529;
  --color-text-muted: #6C757D;
  --spacing-xs: 12px;
  --spacing-sm: 24px;
  --spacing-md: 36px;
  --spacing-lg: 48px;
  --spacing-xl: 72px;
  --spacing-xxl: 96px;
  --font-primary: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: Georgia, 'Times New Roman', serif;
  --max-width: 1200px;
  --gutter: 36px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 4rem 0;
}

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

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

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

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

.logo:hover {
  color: var(--color-secondary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--color-text);
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1000;
}

.main-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-item {
  display: inline-block;
}

.nav-link {
  color: var(--color-text);
  font-weight: 500;
  padding: 0.5rem 0;
  display: block;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.nav-link:hover {
  border-bottom-color: var(--color-primary);
  color: var(--color-primary);
}

main {
  padding-top: 80px;
}

.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-bg);
  padding: 6rem 0;
  text-align: center;
}

.hero-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--color-bg);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-secondary);
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 600;
  text-align: center;
  border: 2px solid currentColor;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-bg);
  color: var(--color-primary);
  border-color: var(--color-bg);
}

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

.btn-secondary {
  background: transparent;
  color: var(--color-bg);
  border-color: var(--color-bg);
}

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

.btn-accent {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}

.btn-accent:hover {
  background: var(--color-secondary);
  color: var(--color-bg);
  border-color: var(--color-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0 -1rem;
}

.grid > * {
  flex: 1 1 300px;
  padding: 0 1rem;
}

.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.columns > * {
  flex: 1 1 calc(33.333% - 2rem);
  min-width: 280px;
}

.card {
  background: var(--color-bg);
  border: 1px solid #e0e0e0;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card-header {
  margin-bottom: 1rem;
}

.card-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.card-body {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--color-text-muted);
  line-height: 1.6;
}

.card-footer {
  margin-top: auto;
}

.feature {
  background: var(--color-bg);
  border: 1px solid #e0e0e0;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s ease;
}

.feature:hover {
  border-color: var(--color-primary);
}

.feature-icon {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-text {
  color: var(--color-text-muted);
}

.item {
  background: var(--color-bg-alt);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.item-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.item-text {
  color: var(--color-text);
}

.testimonials {
  background: var(--color-bg-alt);
  padding: 4rem 0;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.testimonial {
  background: var(--color-bg);
  padding: 2rem;
  border-left: 4px solid var(--color-primary);
  flex: 1 1 calc(50% - 1rem);
  min-width: 280px;
}

.testimonial-text {
  font-size: 1.125rem;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 1.5rem;
  font-family: var(--font-secondary);
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.contact-section {
  padding: 4rem 0;
}

.contact-wrapper {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1 1 300px;
}

.contact-form-wrapper {
  flex: 2 1 500px;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  min-width: 30px;
}

.contact-details h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}

.contact-details p {
  margin: 0;
  color: var(--color-text-muted);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-text);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--color-text);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-row .form-group {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 200px;
}

.faq-section {
  padding: 4rem 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg);
  border: 1px solid #e0e0e0;
  margin-bottom: 1rem;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
  font-family: var(--font-primary);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.about-section {
  padding: 4rem 0;
}

.about-content {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 400px;
}

.about-image img {
  width: 100%;
  border: 1px solid #e0e0e0;
}

.about-text {
  flex: 1 1 500px;
}

.about-text h2 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  flex: 1 1 150px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-bg);
  padding: 4rem 0;
  text-align: center;
}

.cta-title {
  font-size: 1.5rem;
  color: var(--color-bg);
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-minimal {
  background: var(--color-bg-alt);
  padding: 2rem;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-minimal p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

@media screen and (max-width: 1024px) {
  .hero {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .section {
    padding: 3rem 0;
  }

  .columns > * {
    flex: 1 1 calc(50% - 2rem);
  }

  .testimonial {
    flex: 1 1 100%;
  }

  .contact-wrapper {
    flex-direction: column;
  }
}

@media screen and (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .main-nav.active {
    display: flex;
    opacity: 1;
  }

  .nav-item {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    color: var(--color-bg);
    font-size: 1.25rem;
    padding: 1rem;
    border-bottom: none;
  }

  .nav-link:hover {
    color: var(--color-accent);
  }

  .hero {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .columns > * {
    flex: 1 1 100%;
  }

  .grid > * {
    flex: 1 1 100%;
  }

  .about-content {
    flex-direction: column;
  }

  .stats {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row .form-group {
    flex: 1 1 100%;
  }
}

@media screen and (max-width: 480px) {
  :root {
    font-size: 14px;
  }

  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 2rem 0;
  }

  .section {
    padding: 1.5rem 0;
  }

  .card {
    padding: 1.5rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}
