:root {
  --primary-color: #3D6B4F;
  --secondary-color: #2A4D38;
  --accent-color: #85B899;
  --light-color: #EDF5EF;
  --dark-color: #182C21;
  --gradient-primary: linear-gradient(135deg, #4E8064 0%, #2A4D38 100%);
  --hover-color: #355C44;
  --background-color: #F7FAF8;
  --text-color: #1E2E24;
  --border-color: rgba(61, 107, 79, 0.18);
  --divider-color: rgba(61, 107, 79, 0.13);
  --shadow-color: rgba(42, 77, 56, 0.08);
  --highlight-color: #F0DB4F;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Inter', sans-serif;
}

/* Base styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.75;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 320px;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 1rem 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  line-height: 1.45;
}

p {
  margin: 0 0 1rem 0;
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.75;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.hamburger .line {
  width: 22px;
  height: 2px;
  background: var(--text-color);
  margin: 2px 0;
  transition: 0.3s;
  border-radius: 1px;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .mobile-nav {
  max-height: 400px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.mobile-nav ul {
  padding: 2rem;
  margin: 0;
  list-style: none;
}

.mobile-nav li {
  margin: 1rem 0;
}

.mobile-nav a {
  display: block;
  padding: 0.8rem 0;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.mobile-nav a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.97);
  color: var(--text-color);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 14px var(--shadow-color);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 3rem;
  width: auto;
}

/* Navigation */
.navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.navigation a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.navigation a:hover {
  color: var(--primary-color);
}

/* Grid layouts */
.grid {
  display: grid;
  width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
}

/* Feature Cards — dark header band style */
.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.35s ease;
  width: 100%;
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(42, 77, 56, 0.16);
}

.feature-card-header {
  background: var(--gradient-primary);
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-icon {
  font-size: 1.8rem;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: rgba(255,255,255,0.25);
  transform: scale(1.08);
}

.feature-card-header h3 {
  color: #ffffff;
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
}

.feature-card-body {
  padding: 1.4rem 1.6rem;
}

.feature-card-body p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--text-color);
  line-height: 1.7;
}

/* Testimonials */
.testimonial {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem 2.5rem;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: all 0.3s ease;
  width: 100%;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-family: var(--main-font);
  font-size: 5rem;
  color: var(--accent-color);
  opacity: 0.3;
  position: absolute;
  top: -0.5rem;
  left: 1.2rem;
  line-height: 1;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(42, 77, 56, 0.14);
}

/* FAQ Items */
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin: 1rem 0;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 1.8rem 2rem;
  width: 100%;
  border-left: 4px solid var(--accent-color);
}

.faq-item:hover {
  border-left-color: var(--primary-color);
  transform: translateX(4px);
  box-shadow: 0 5px 18px rgba(42, 77, 56, 0.12);
}

/* Form Styles */
input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  background: #ffffff;
  color: var(--text-color);
  font-size: 1rem;
  width: 100%;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(61, 107, 79, 0.12);
}

/* Buttons */
.btn,
button[type="submit"] {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--alt-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 3px 14px rgba(42, 77, 56, 0.28);
  letter-spacing: 0.02em;
}

.btn:hover,
button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(42, 77, 56, 0.36);
}

/* Pattern Background — organic dots */
.pattern-bg {
  background-image:
    radial-gradient(circle, rgba(61, 107, 79, 0.06) 1px, transparent 1px),
    radial-gradient(circle, rgba(133, 184, 153, 0.04) 1px, transparent 1px);
  background-size: 36px 36px, 72px 72px;
  background-position: 0 0, 18px 18px;
}

/* Random Content Block — horizontal stat strip with icons */
.stat-strip {
  display: flex;
  align-items: stretch;
  border-radius: 14px;
  overflow: hidden;
  background: var(--gradient-primary);
  box-shadow: 0 6px 24px rgba(42, 77, 56, 0.22);
}

.stat-strip-label {
  background: rgba(0,0,0,0.18);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  flex-shrink: 0;
}

.stat-strip-label p {
  color: #ffffff;
  font-family: var(--main-font);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  margin: 0;
  text-align: center;
  line-height: 1.4;
}

.stat-strip-items {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
}

.stat-strip-item {
  flex: 1;
  min-width: 140px;
  padding: 2rem 1.5rem;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-strip-item .s-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  display: block;
}

.stat-strip-item .s-val {
  font-family: var(--main-font);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-strip-item .s-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.4;
  margin: 0;
}

/* Contact block width */
.contact-wrap {
  width: 80%;
  margin: 0 auto;
}

/* Stat Cards */
.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 3px 12px var(--shadow-color);
  transition: all 0.35s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(42, 77, 56, 0.15);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--main-font);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 1rem;
  color: var(--text-color);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Footer */
footer {
  padding: 3rem 0 1rem;
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}

footer a {
  color: var(--light-color);
  text-decoration: none;
  transition: opacity 0.2s;
}

footer a:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navigation {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .stat-strip {
    flex-direction: column;
    border-radius: 12px;
  }

  .stat-strip-label {
    min-width: unset;
    padding: 1.8rem 1.5rem;
  }

  .stat-strip-items {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-strip-item {
    min-width: 50%;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 1.5rem 1rem;
  }

  .contact-wrap {
    width: 100%;
  }

  .feature-card-header,
  .feature-card-body {
    padding: 1.2rem 1.3rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .testimonial {
    padding: 1.5rem 1.2rem;
  }

  .faq-item {
    padding: 1.4rem 1rem;
  }

  .stat-strip-item {
    min-width: 100%;
  }
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}