/* ============================================================
   0090 - Organic Nature Style
   Main Colors: green-700 (#15803D) + amber-700 (#B45309)
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803D;
  --green-800: #166534;
  --green-900: #14532d;
  --green-950: #052e16;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #B45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --text-dark: #1a2e1a;
  --text-mid: #3d5a3d;
  --text-light: #6b8a6b;
  --white: #ffffff;
  --off-white: #f9faf7;
}

/* ---------- Reset & Base ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  color: var(--text-dark);
  background-color: var(--off-white);
  overflow-x: hidden;
}

/* ---------- Wood Grain Texture (repeating-linear-gradient) ---------- */
.wood-bg {
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 3px,
      rgba(180, 83, 9, 0.04) 3px,
      rgba(180, 83, 9, 0.04) 4px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 8px,
      rgba(139, 69, 19, 0.06) 8px,
      rgba(139, 69, 19, 0.06) 9px
    ),
    repeating-linear-gradient(
      2deg,
      rgba(180, 83, 9, 0.03),
      rgba(180, 83, 9, 0.03) 5px,
      rgba(160, 70, 20, 0.05) 5px,
      rgba(160, 70, 20, 0.05) 10px
    ),
    linear-gradient(135deg, #fef7ed 0%, #fde9ce 30%, #fdf0db 60%, #fef3e4 100%);
}

.wood-bg-dark {
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 3px,
      rgba(180, 83, 9, 0.08) 3px,
      rgba(180, 83, 9, 0.08) 4px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 6px,
      rgba(139, 69, 19, 0.10) 6px,
      rgba(139, 69, 19, 0.10) 7px
    ),
    repeating-linear-gradient(
      2deg,
      rgba(180, 83, 9, 0.06),
      rgba(180, 83, 9, 0.06) 4px,
      rgba(140, 60, 10, 0.08) 4px,
      rgba(140, 60, 10, 0.08) 8px
    ),
    linear-gradient(135deg, #5c3a1e 0%, #4a2c12 50%, #3d220c 100%);
}

/* ---------- Navbar ---------- */
.navbar {
  background-color: var(--white);
  border-bottom: 3px solid var(--amber-700);
  box-shadow: 0 2px 12px rgba(21, 128, 61, 0.10);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo-icon {
  color: var(--green-700);
  font-size: 1.6rem;
  transition: transform 0.4s ease;
}

.navbar .logo-icon:hover {
  transform: rotate(-15deg) scale(1.15);
}

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

.nav-link {
  color: var(--text-mid);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 2rem 1rem 2rem 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green-700);
  background-color: var(--green-50);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background-color: var(--amber-700);
  border-radius: 1px;
  transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--green-700);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #f0fdf4 0%, #dcfce7 40%, #fef7ed 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* CSS-drawn green circle decorations */
.hero-decoration-circle-1 {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 128, 61, 0.10) 0%, rgba(21, 128, 61, 0.02) 60%, transparent 70%);
  animation: floatCircle 8s ease-in-out infinite;
}

.hero-decoration-circle-2 {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 128, 61, 0.08) 0%, rgba(21, 128, 61, 0.01) 60%, transparent 70%);
  animation: floatCircle 10s ease-in-out infinite reverse;
}

.hero-decoration-circle-3 {
  position: absolute;
  top: 20%;
  right: 35%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 128, 61, 0.06) 0%, transparent 70%);
  animation: floatCircle 6s ease-in-out infinite;
}

.hero-decoration-circle-4 {
  position: absolute;
  bottom: 25%;
  left: 45%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 83, 9, 0.06) 0%, transparent 70%);
  animation: floatCircle 7s ease-in-out infinite 2s;
}

/* Leaf decoration elements */
.hero-leaf-decor {
  position: absolute;
  color: var(--green-200);
  opacity: 0.5;
  animation: swayLeaf 5s ease-in-out infinite;
}

.hero-leaf-decor:nth-child(5) {
  top: 10%;
  left: 5%;
  font-size: 2.5rem;
  animation-delay: 0s;
}

.hero-leaf-decor:nth-child(6) {
  top: 60%;
  right: 8%;
  font-size: 2rem;
  animation-delay: 1.5s;
}

@keyframes floatCircle {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-25px) scale(1.05); }
}

@keyframes swayLeaf {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.hero-title {
  color: var(--green-700);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.hero-title .highlight {
  color: var(--amber-700);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(180, 83, 9, 0.15);
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  color: var(--text-mid);
  font-size: 1.15rem;
  line-height: 1.8;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--amber-300);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  z-index: 0;
}

.hero-image-wrapper img {
  position: relative;
  z-index: 1;
  border-radius: 3rem 1.5rem 4rem 0.8rem;
  box-shadow: 0 20px 50px rgba(21, 128, 61, 0.15);
}

/* ---------- Buttons ---------- */
.btn-green {
  background: linear-gradient(135deg, var(--green-600) 0%, var(--green-700) 100%);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 2rem 1rem 2rem 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.25);
  text-decoration: none;
  display: inline-block;
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 128, 61, 0.35);
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-800) 100%);
}

.btn-wood {
  background: linear-gradient(135deg, var(--amber-600) 0%, var(--amber-700) 100%);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 2rem 1rem 2rem 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.25);
  text-decoration: none;
  display: inline-block;
}

.btn-wood:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(180, 83, 9, 0.35);
  background: linear-gradient(135deg, var(--amber-700) 0%, var(--amber-800) 100%);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 2rem 1rem 2rem 0.5rem;
  font-weight: 600;
  border: 2px solid var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green-700);
}

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  color: var(--amber-700);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(180, 83, 9, 0.08);
  padding: 0.3rem 1rem;
  border-radius: 2rem 0.5rem 2rem 0.5rem;
  margin-bottom: 0.8rem;
}

.section-title {
  color: var(--green-700);
  font-size: 2.2rem;
  font-weight: 700;
}

.section-title .fa-leaf {
  font-size: 1.5rem;
  margin: 0 0.4rem;
  color: var(--green-500);
}

.section-desc {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 600px;
  margin: 0.8rem auto 0;
  line-height: 1.7;
}

/* ---------- Feature Cards (organic asymmetric border-radius + green glow) ---------- */
.feature-card {
  background: var(--white);
  border: 1px solid rgba(21, 128, 61, 0.10);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.35);
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(21, 128, 61, 0.25);
}

.feature-card:hover::before {
  box-shadow: 0 0 30px 8px rgba(21, 128, 61, 0.2);
  opacity: 1;
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, var(--green-100) 0%, var(--green-50) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--green-200) 0%, var(--green-100) 100%);
  transform: scale(1.1);
}

.feature-icon i {
  color: var(--green-700);
  font-size: 1.6rem;
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon i {
  color: var(--green-600);
  animation: leafBounce 0.6s ease;
}

@keyframes leafBounce {
  0%, 100% { transform: rotate(0deg) scale(1); }
  30% { transform: rotate(-15deg) scale(1.2); }
  60% { transform: rotate(10deg) scale(0.95); }
}

.feature-title {
  color: var(--green-700);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.feature-desc {
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* Alternate border-radius variants */
.feature-card.variant-2 {
  border-radius: 40% 60% 30% 70% / 60% 50% 40% 50%;
}

.feature-card.variant-3 {
  border-radius: 50% 50% 60% 40% / 40% 60% 50% 50%;
}

.feature-card.variant-4 {
  border-radius: 55% 45% 50% 50% / 50% 55% 45% 50%;
}

.feature-card.variant-5 {
  border-radius: 45% 55% 40% 60% / 55% 45% 50% 50%;
}

.feature-card.variant-6 {
  border-radius: 60% 40% 50% 50% / 45% 55% 40% 60%;
}

/* ---------- Stats Section ---------- */
.stats-section {
  padding: 5rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--green-700);
  line-height: 1;
  position: relative;
  display: inline-block;
}

.stat-number .plus {
  color: var(--amber-600);
}

.stat-label {
  color: var(--amber-800);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  letter-spacing: 0.03em;
}

.stat-icon {
  font-size: 1.2rem;
  color: var(--green-600);
  margin-bottom: 0.4rem;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: linear-gradient(135deg, var(--green-50) 0%, var(--green-100) 100%);
  border: 1px solid var(--green-200);
  border-radius: 3rem 1.5rem 4rem 1rem;
  padding: 2rem 1.8rem;
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.4rem;
  left: 1.2rem;
  font-size: 4rem;
  color: rgba(21, 128, 61, 0.12);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(21, 128, 61, 0.12);
}

.testimonial-text {
  color: var(--green-900);
  font-size: 0.95rem;
  line-height: 1.8;
  font-style: italic;
  margin-top: 0.8rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green-300);
}

.testimonial-name {
  color: var(--green-800);
  font-weight: 700;
  font-size: 0.95rem;
}

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

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border: 1px solid rgba(21, 128, 61, 0.12);
  border-radius: 1.5rem 0.8rem 1.5rem 0.8rem;
  margin-bottom: 0.8rem;
  overflow: hidden;
  background: var(--white);
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: var(--green-400);
  box-shadow: 0 4px 20px rgba(21, 128, 61, 0.10);
}

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

.faq-item.active .faq-question {
  background: var(--green-100);
}

.faq-question:hover {
  background: var(--green-100);
}

.faq-icon {
  color: var(--green-600);
  font-size: 1.1rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-icon i {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon i {
  transform: rotate(180deg);
  color: var(--amber-600);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.2rem;
  color: var(--text-mid);
  font-size: 0.93rem;
  line-height: 1.8;
}

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

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-800) 40%, var(--green-900) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section .leaf-decor-left,
.cta-section .leaf-decor-right {
  position: absolute;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.cta-section .leaf-decor-left {
  top: -20px;
  left: -30px;
  transform: rotate(-30deg);
}

.cta-section .leaf-decor-right {
  bottom: -20px;
  right: -30px;
  transform: rotate(45deg);
}

.cta-title {
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 700;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, var(--green-950) 0%, #032010 100%);
  color: var(--green-200);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-700), var(--green-500), var(--amber-700), var(--green-500), var(--amber-700));
}

.footer-leaf-decor {
  position: absolute;
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.footer-leaf-decor.top-right {
  top: -15px;
  right: -20px;
  transform: rotate(20deg);
}

.footer-leaf-decor.bottom-left {
  bottom: -15px;
  left: -20px;
  transform: rotate(-25deg);
}

.footer h5 {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 60%;
  height: 2px;
  background-color: var(--amber-600);
  border-radius: 1px;
}

.footer a {
  color: var(--green-300);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.93rem;
}

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

.footer .fa-leaf {
  color: var(--green-500);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

/* ---------- Scroll Animations ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 3px solid var(--amber-700);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
  padding: 1rem;
  gap: 0.4rem;
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  padding: 0.75rem 1.2rem;
  color: var(--text-mid);
  font-weight: 500;
  text-decoration: none;
  border-radius: 1rem 0.5rem 1rem 0.5rem;
  transition: all 0.3s ease;
}

.mobile-menu a:hover {
  background: var(--green-50);
  color: var(--green-700);
}

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

  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }

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

  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .feature-card {
    border-radius: 50% 50% 60% 40% / 40% 60% 50% 50%;
  }

  .cta-title {
    font-size: 1.6rem;
  }
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}
