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

:root {
  --primary-color: #2d5a3d;
  --secondary-color: #4a7c6e;
  --accent-color: #d4a574;
  --neutral-light: #f5f3f0;
  --neutral-medium: #e8e4df;
  --neutral-dark: #2c2520;
  --text-primary: #1a1815;
  --text-secondary: #5a5450;
  --success-color: #6b9b7f;
  --border-radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--neutral-light);
}

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

/* Navbar */
.navbar {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.nav-menu a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
  border-radius: var(--border-radius);
  margin: 2rem auto;
  max-width: 1200px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Mission Section */
.mission-section {
  padding: 4rem 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  margin: 3rem auto;
  max-width: 1200px;
}

.mission-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mission-content h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.mission-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Impact Section */
.impact-section {
  padding: 4rem 2rem;
  margin: 4rem auto;
  max-width: 1200px;
}

.impact-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--secondary-color);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

.stat-card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Services Preview Section */
.services-preview {
  padding: 4rem 2rem;
  margin: 4rem auto;
  max-width: 1200px;
}

.services-preview h2 {
  font-size: 2rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--secondary-color);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Services Detail Section */
.services-detail {
  padding: 4rem 2rem;
  margin: 3rem auto;
  max-width: 1200px;
}

.service-detail-card {
  background-color: white;
  padding: 2.5rem;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--secondary-color);
}

.service-detail-card h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-detail-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border-radius: var(--border-radius);
  margin: 4rem auto;
  max-width: 1200px;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Buttons */
.cta-button,
.secondary-button,
.submit-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.cta-button {
  background-color: var(--accent-color);
  color: white;
}

.cta-button:hover {
  background-color: #c49563;
  transform: translateY(-2px);
}

.secondary-button {
  background-color: var(--secondary-color);
  color: white;
}

.secondary-button:hover {
  background-color: #3a6b5d;
  transform: translateY(-2px);
}

.submit-button {
  background-color: var(--primary-color);
  color: white;
  width: 100%;
}

.submit-button:hover {
  background-color: #1e4230;
}

/* Page Hero */
.page-hero {
  text-align: center;
  padding: 3rem 2rem;
  background-color: white;
  margin: 2rem 0;
  border-radius: var(--border-radius);
}

.page-hero h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* About Content */
.about-content {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.about-section {
  background-color: white;
  padding: 2.5rem;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.about-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.value-card {
  background-color: var(--neutral-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--secondary-color);
}

.value-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

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

/* Contact Section */
.contact-section {
  margin: 3rem 0;
  padding: 0 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info,
.contact-form-wrapper {
  background-color: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-info h2,
.contact-form-wrapper h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.info-item {
  margin-bottom: 2rem;
}

.info-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.info-item p {
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.info-item small {
  color: var(--text-secondary);
  opacity: 0.8;
}

.info-item a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
}

.info-item a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--neutral-medium);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

/* Footer */
.footer {
  background-color: var(--neutral-dark);
  color: white;
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .nav-menu {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .page-hero h1 {
    font-size: 1.75rem;
  }

  .mission-container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 1rem;
  }

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

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

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

  .nav-menu {
    flex-direction: column;
    gap: 0.5rem;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  .about-section,
  .contact-info,
  .contact-form-wrapper {
    padding: 1.5rem;
  }
}
