
.features-wrapper {
  background: linear-gradient(180deg, #9de9a4 0%, #d8f8d2 50%, #a9eca1 100%);
  padding: 4rem 0 8rem 0;
  position: relative;
  top: -31%;
}

/* Features Header */
.features-header {
  text-align: center;
  margin-bottom: 6rem;
  padding: 0 2rem;
}

.features-header h1 {
  font-family: 'Bungee', cursive;
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: rgb(4, 30, 5);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.features-header p {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(4, 30, 5, 0.8);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

.feature-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto 10rem auto;
  padding: 0 4rem;
  min-height: 80vh;
  position: relative;
}

.feature-section.feature-reverse {
  grid-template-columns: 1fr 1fr;
}

.feature-content {
  padding: 2rem;
}

.feature-content h2 {
  font-family: 'Bungee', cursive;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: rgb(4, 30, 5);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.feature-content p {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #333;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-weight: 400;
}

.cta-button {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  background: linear-gradient(135deg, #5c7a39, #729b4a);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(92, 122, 57, 0.3);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(92, 122, 57, 0.5);
  background: linear-gradient(135deg, #729b4a, #5c7a39);
}

.cta-button:active {
  transform: translateY(-1px);
}

.feature-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.feature-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

.feature-image img:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.feature-image::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-section:hover .feature-image::before {
  opacity: 1;
}

@media screen and (max-width: 1200px) {
  .feature-section {
    gap: 3rem;
    padding: 0 3rem;
    margin-bottom: 8rem;
  }

  .feature-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
  }

  .feature-content p {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  }
}

@media screen and (max-width: 1024px) {
  .features-wrapper {
    padding: 3rem 0 6rem 0;
  }

  .features-header {
    margin-bottom: 4rem;
  }

  .feature-section {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 2rem;
    margin-bottom: 6rem;
    min-height: auto;
  }

  .feature-section.feature-reverse {
    grid-template-columns: 1fr;
  }

  .feature-section .feature-image {
    order: 1;
  }

  .feature-section .feature-content {
    order: 2;
    text-align: center;
    padding: 1rem;
  }

  .feature-image img {
    max-width: 400px;
  }

  .cta-button {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 768px) {
  .features-wrapper {
    padding: 2rem 0 4rem 0;
    top: -25%;
  }

  .features-header {
    margin-bottom: 3rem;
  }

  .features-header h1 {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .features-header p {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  .feature-section {
    gap: 2rem;
    padding: 0 1.5rem;
    margin-bottom: 4rem;
  }

  .feature-content {
    padding: 0.5rem;
  }

  .feature-content h2 {
    margin-bottom: 1rem;
  }

  .feature-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .feature-image img {
    max-width: 350px;
    border-radius: 20px;
  }
}

@media screen and (max-width: 480px) {
  .features-wrapper {
    top: -20%;
  }

  .features-header {
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .feature-section {
    gap: 1.5rem;
    padding: 0 1rem;
    margin-bottom: 3rem;
  }

  .feature-content h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .feature-content p {
    font-size: clamp(0.85rem, 2vw, 1rem);
  }

  .cta-button {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
  }

  .feature-image img {
    max-width: 280px;
  }
}

.wave-divider {
  display: block;
  margin-bottom: -10px; 
  width: 100%;
  height: auto;
  line-height: 0;
}
