:root {
  --primary-color: #3D6B52;
  --secondary-color: #274D39;
  --accent-color: #5A9F77;
  --light-color: #EDF5EF;
  --dark-color: #112B1E;
  --gradient-primary: linear-gradient(135deg, #5A9F77 0%, #274D39 100%);
  --hover-color: #306044;
  --background-color: #F6FAF7;
  --text-color: #213328;
  --border-color: rgba(61, 107, 82, 0.2);
  --divider-color: rgba(39, 77, 57, 0.15);
  --shadow-color: rgba(39, 77, 57, 0.12);
  --highlight-color: #F2D57F;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Inter', sans-serif;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: white;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.hamburger .line {
  width: 24px;
  height: 2px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 1px;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .mobile-nav {
  max-height: 350px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  border-bottom: 2px solid var(--border-color);
  z-index: 1000;
}

.mobile-nav ul {
  padding: 2rem;
  margin: 0;
  list-style: none;
}

.mobile-nav li {
  margin: 0.8rem 0;
}

.mobile-nav a {
  display: block;
  padding: 1rem 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(--accent-color);
}

/* Feature Cards — numbered badge top-left, no icon circle, flat colored top strip */
.feature-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.6rem 2rem 2rem 2rem;
  box-shadow: 0 4px 18px var(--shadow-color);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--gradient-primary);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-color);
  border-color: var(--accent-color);
}

/* The icon sits centered in a large soft-green circle */
.feature-icon {
  font-size: 2.6rem;
  width: 88px;
  height: 88px;
  min-width: 88px;
  background: var(--light-color);
  border: 3px solid var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem auto;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--accent-color);
  transform: scale(1.08);
}

/* Numbered badge */
.feature-number {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--alt-font);
}

/* Testimonials */
.testimonial {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.2rem;
  box-shadow: 0 4px 16px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 26px var(--shadow-color);
  border-color: var(--accent-color);
}

.testimonial-stars {
  color: var(--highlight-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

/* FAQ Items */
.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin: 1.2rem 0;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 2rem 2.2rem;
  position: relative;
}

.faq-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--gradient-primary);
  border-radius: 0 12px 12px 0;
}

.faq-item:hover {
  transform: translateX(-4px);
  box-shadow: 0 6px 22px var(--shadow-color);
  border-color: var(--accent-color);
}

.faq-item h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.faq-item h3::before {
  content: '💡';
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

/* Form */
input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
  background-color: white;
  color: var(--text-color);
  font-size: 1rem;
  width: 100%;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(90, 159, 119, 0.14);
}

input:hover,
textarea:hover {
  border-color: var(--primary-color);
}

/* Buttons */
button,
.btn {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.2rem 2.8rem;
  border-radius: 10px;
  font-weight: 600;
  font-family: var(--alt-font);
  cursor: pointer;
  font-size: 1.05rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 14px rgba(61, 107, 82, 0.3);
  letter-spacing: 0.02em;
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 22px rgba(61, 107, 82, 0.42);
}

/* Typography */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: var(--background-color);
  line-height: 1.75;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
}

/* Stat cards */
.stat-card {
  background: var(--gradient-primary);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 18px var(--shadow-color);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 9px 26px var(--shadow-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  font-family: var(--main-font);
  line-height: 1;
}

.stat-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  margin-top: 0.6rem;
  font-weight: 500;
}

/* Header */
header {
  background: rgba(246, 250, 247, 0.97);
  backdrop-filter: blur(10px);
  color: var(--text-color);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 16px var(--shadow-color);
}

/* Focus */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Grids */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 1.8rem;
  margin: 2rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  margin: 2rem 0;
}

/* Pattern — diagonal subtle lines */
.pattern-bg {
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 22px,
      rgba(90, 159, 119, 0.05) 22px,
      rgba(90, 159, 119, 0.05) 23px
    ),
    radial-gradient(ellipse at 80% 20%, rgba(61, 107, 82, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(90, 159, 119, 0.06) 0%, transparent 55%);
}

/* Contact */
.contact-inner {
  max-width: 80%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }

  .hero h1 { font-size: 2.3rem; }
  .container { padding: 0 1rem; }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-inner { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }

  .feature-card,
  .testimonial,
  .faq-item { padding: 1.6rem 1.2rem; }

  .stat-number { font-size: 2rem; }
}