/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Enhanced light color scheme with sophisticated neutrals and sage green accents */
:root {
  --primary-color: #2c5f4e;
  --secondary-color: #3d7a64;
  --accent-color: #8fae9f;
  --text-dark: #1f2937;
  --text-medium: #4b5563;
  --text-light: #6b7280;
  --bg-cream: #faf8f4;
  --bg-light: #f5f3ed;
  --bg-white: #ffffff;
  --border-light: #e8e5dd;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
  list-style: none;
}

/* Enhanced header with subtle shadow and refined styling */
.header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-image {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
}

.logo-text {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

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

.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-list {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

/* Refined navigation with smooth underline animation */
.nav-list a {
  color: var(--text-medium);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0;
  position: relative;
  letter-spacing: 0.01em;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

/* Modern hero section with elegant spacing and typography */
.hero {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
  color: var(--text-dark);
  padding: 7rem 0;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary-color);
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.375rem;
  margin-bottom: 2.5rem;
  color: var(--text-light);
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Refined button styles with modern hover effects */
.btn {
  display: inline-block;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

.btn-light {
  background-color: var(--bg-white);
  color: var(--primary-color);
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

/* Enhanced features section with modern card design */
.features {
  padding: 6rem 0;
  background-color: var(--bg-white);
}

.section-title {
  text-align: center;
  font-size: 2.75rem;
  margin-bottom: 3.5rem;
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.feature-card {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.feature-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Elegant CTA section with gradient background */
.cta {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
  color: var(--text-dark);
  padding: 6rem 0;
  text-align: center;
  position: relative;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.cta::before {
  top: 0;
}

.cta::after {
  bottom: 0;
}

.cta-content h2 {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--text-light);
}

/* Modern footer with refined styling */
.footer {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 4rem 0 1.5rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.25rem;
}

.footer-logo .logo-image {
  filter: brightness(0) invert(1);
}

.footer-logo .logo-text {
  color: var(--bg-white);
}

.footer-description {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.footer-column h4 {
  margin-bottom: 1.25rem;
  color: var(--bg-white);
  font-weight: 600;
  font-size: 1.0625rem;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--bg-white);
  padding-left: 4px;
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
}

/* Enhanced page hero with modern gradient */
.page-hero {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
  color: var(--text-dark);
  padding: 5rem 0;
  text-align: center;
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.page-hero h1 {
  font-size: 3.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: -0.03em;
}

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

/* Content Section */
.content-section {
  padding: 6rem 0;
  background-color: var(--bg-white);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  align-items: center;
}

.content-text h2 {
  font-size: 2.25rem;
  margin-bottom: 1.75rem;
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.content-text p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.75;
  font-size: 1.0625rem;
}

.content-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Values Section */
.values-section {
  padding: 6rem 0;
  background-color: var(--bg-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.value-card {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 600;
}

.value-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Mission Section */
.mission-section {
  padding: 6rem 0;
  background-color: var(--primary-color);
  color: var(--bg-white);
  position: relative;
}

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

.mission-content h2 {
  font-size: 2.75rem;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mission-text {
  font-size: 1.375rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

/* Team Section */
.team-section {
  padding: 6rem 0;
  background-color: var(--bg-white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.team-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.team-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background-color: var(--bg-light);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-info {
  padding: 2rem;
}

.team-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

.team-role {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-bio {
  color: var(--text-light);
  line-height: 1.7;
}

.team-more {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-light);
  font-style: italic;
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  gap: 3rem;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
  transform: translateY(-4px);
}

.service-image {
  height: 100%;
  min-height: 280px;
  background-color: var(--bg-light);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 2.5rem;
}

.service-content h3 {
  font-size: 1.875rem;
  margin-bottom: 1.25rem;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.service-content > p {
  color: var(--text-light);
  margin-bottom: 1.75rem;
  line-height: 1.75;
}

.service-features {
  list-style: none;
  padding-left: 0;
}

.service-features li {
  padding: 0.625rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-medium);
  line-height: 1.6;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.125rem;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background-color: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.75;
  font-size: 1.0625rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
}

.contact-icon {
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h4 {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
  color: var(--primary-color);
  font-weight: 600;
}

.contact-item p {
  color: var(--text-light);
  line-height: 1.7;
}

.contact-item a {
  color: var(--text-medium);
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--primary-color);
}

/* Contact Form */
.contact-form-wrapper {
  background-color: var(--bg-light);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--bg-white);
  color: var(--text-dark);
}

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

.form-message {
  padding: 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  display: none;
  font-weight: 500;
}

.form-message.success {
  background-color: #d1f4e0;
  color: #0f5132;
  border: 1px solid #a3e4bf;
  display: block;
}

.form-message.error {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
  display: block;
}

/* Legal Content */
.legal-content {
  padding: 6rem 0;
  background-color: var(--bg-white);
}

.legal-text {
  max-width: 900px;
  margin: 0 auto;
}

.legal-text h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--primary-color);
  font-weight: 700;
}

.legal-text h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-weight: 600;
}

.legal-text p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.legal-text ul {
  list-style: disc;
  margin-left: 2rem;
  margin-bottom: 1.25rem;
}

.legal-text ul li {
  color: var(--text-light);
  margin-bottom: 0.625rem;
  line-height: 1.7;
}

.legal-text a {
  color: var(--primary-color);
  font-weight: 500;
}

.legal-text a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: relative;
  }

  .nav-list {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    background-color: var(--bg-white);
    flex-direction: column;
    gap: 0;
    width: 260px;
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
  }

  .nav-list.active {
    max-height: 420px;
    padding: 1rem 0;
  }

  .nav-list li {
    padding: 0 1.25rem;
  }

  .nav-list a {
    display: block;
    padding: 0.875rem 0;
  }

  .nav-list a::after {
    left: 0;
    transform: none;
  }

  .hero {
    padding: 5rem 0;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

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

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

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

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-image {
    min-height: 240px;
  }

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

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

  .cta-content h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero-content h1 {
    font-size: 1.875rem;
  }

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

  .page-hero {
    padding: 3.5rem 0;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .btn {
    padding: 0.875rem 1.75rem;
  }

  .features,
  .values-section,
  .team-section,
  .services-section,
  .contact-section,
  .content-section,
  .legal-content {
    padding: 4rem 0;
  }

  .cta {
    padding: 4rem 0;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}
