/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9f8;
  width: 75%;
  margin: 0 auto;
}
h1 {
    font-size: 70px;
    font-family: 'Satoshi';
    line-height: 1;
    font-weight: 400;
    margin: 2rem 0;
}
h2 {
    font-size: 48px;
    font-family: 'Satoshi';
    font-weight: 400;
    line-height: 1.2;
}
h4 {
    background-color:white;
    width: 35%;
    border-radius: 20px;
    color: #3e6546;
    margin-bottom: 2rem;
    text-align: center;
    padding-left: 2px;
    padding-right: 2px;
}
a {
  text-decoration: none;
  color: inherit;
}
.hero-content p {
    font-size: 28px;
    margin-bottom: 1.5rem;
}
.btn-primary {
  background-color: #3e6546;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  display: inline-block;
  margin-top: 1rem;
}

/* Header */
.header {
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.header.scrolled {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.logo {
  width: 100px;
  height: 100px;
}
.nav a {
  margin-left: 2rem;
}
.cta {
  background: #3e6546;
  color: #fff;
  padding: 0.2rem 1rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.cta span {
  display: inline-block;   
  padding-bottom: 0.2rem;
}

.cta .nav-icon {
  width: 30px;   /* adjust size as needed */
  height: 30px;
  object-fit: contain;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 0;
}
.hero-content {
  flex: 1;
  flex-direction: column;
  padding-right: 2rem;
  gap: 2rem;
}
.hero-image {
  flex: 1;
  text-align: right;
}
.hero-image img {
  max-width: 100%;
  border-radius: 15px;
}

/* Problem*/
.problem {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 4rem 2rem;
  align-items: center;
}
.problem-text {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.problem-box {
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.problem-image {
  flex: 1 1 40%;
  text-align: center;
}
.problem-image img {
  width: 500px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.problem-box-image {
  width: 70px;
  margin: 0 auto;
}

/* Solution */
.solution {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 4rem 2rem;
  align-items: center;
}
.solution-text {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.solution-box {
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.solution-image {
  flex: 1 1 40%;
  text-align: center;
}
.solution-image img {
  width: 500px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Features */
.features {
  text-align: center;
  padding: 3rem 2rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);;
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-box {
  display: flex;
  flex-direction: row;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.feature-image img {
  width: 150px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: solid black 1px;
  margin-left: -20px;
}
.feature-text {
  text-align: left;
  width: 500px;
  max-width: 100%;
  height: auto;
  padding-left: 1.5rem;
}
.feature-text h3 {
  text-align: left;
  font-size: 22px;
  font-weight: 500;
  margin-top: 0.5rem;
}
.features h2 {
    margin-bottom: 4rem;
}
.features h4 {
    margin: 0 auto;
    margin-bottom: 3rem;
    width: 200px;
}

/* How It Works */
.how-it-works {
  padding: 3rem 2rem;
  text-align: center;
}
.steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
}
.step {
  max-width: 250px;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.step h3 {
  color: #3e6546;
  font-size: 64px;
  font-weight: 400;
}
.step h5 {
    font-size: 22px;
    font-weight: 500;
}
.steps img {
    margin-top: 7rem;
    width: 80px;
    height: 80px;
}
.how-it-works h4 {
    margin: 0 auto;
    margin-bottom: 3rem;
    width: 200px;
}

/* Testimonials */
.testimonials {
  padding: 3rem 2rem;
  text-align: center;
  overflow: hidden;
}

.testimonials h4 {
  margin: 0 auto 3rem;
  width: 200px;
}

.testimonials h2 {
  margin-bottom: 4rem;
}

.testimonial-cards {
  overflow: hidden;
  position: relative;
}

.testimonial-cards::before,
.testimonial-cards::after {
  content: "";
  position: absolute;
  top: 0;
  width: 300px; /* width of the blur edge */
  height: 100%;
  z-index: 2;
  pointer-events: none; /* So it doesn’t block clicks */
}

.testimonial-cards::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1)0%, rgba(255, 255, 255, 0)30%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0) 100%);
}

.testimonial-cards::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1)0%, rgba(255, 255, 255, 0)30%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0) 100%);
}

.testimonial-track {
  display: flex;
  margin-right: 20px;
  width: max-content;
  animation: scrollTestimonials 40s linear infinite;
}

.testimonial {
  flex: 0 0 300px;
  margin-right: 1.5rem;
  background: #ffffff;
  padding: 1rem;
  border-radius: 8px;
  box-sizing: border-box;
}

.testimonial img {
    width: 100px;
}

@keyframes scrollTestimonials {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* Frequently Asked Questions */
.faqs {
    max-width: 1100px;
    margin: auto;
    padding: 2rem;

}
.faqs h4 {
    margin: 0 auto;
    margin-bottom: 3rem;
    width: 200px;
}
.faqs h2 {
    text-align: center;
    margin-bottom: 3rem;
}
.faq-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
}

.faq-item {
  flex: 1 1 calc(50% - 1rem);
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  align-self: flex-start;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1rem;
  font-weight: 500;
  cursor: pointer;
  font-size: 1rem;
  outline: none;
  display: flex;              
  align-items: center; 
  margin-top: 0.8rem;
       
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-left: 1rem;
  margin-right: 1rem;
  margin-bottom: 1rem;
  text-align: justify;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .faq-item {
    flex: 1 1 100%;
  }
}

/* Call to Action Section */
.cta-section {
  background: #dfece6;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 20px;
}
.cta-box {
  max-width: 800px;
  margin: 0 auto;
  background: #f8f9f8;
  padding: 2rem 6rem;
  border-radius: 8px;
}
.cta-section h4 {
   margin: 0 auto;
    margin-bottom: 2rem;
    width: 200px; 
}
.cta-section h3 {
    margin-top: 1.5rem;
    font-size: 48px;
    line-height: 1.2;
    font-family: 'Satoshi';
}
.cta-afterbox{
    max-width: 800px;
    margin: 0 auto;
}
.cta-afterbox h3 {
    margin-bottom: 1rem;
}
.form-wrapper {
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  max-width: 800px;          /* limit max width */
  margin-left: auto;         /* center horizontally */
  margin-right: auto;
  /* add flex and justify center to center form content */
  display: flex;
  justify-content: center;
}

/* Footer */
.footer {
   display: flex;
  justify-content: space-between; /* put items at far ends */
  align-items: center;            /* vertically center them */
  padding: 1rem 2rem;
  font-size: 0.9rem;
  max-width: 1200px;              /* match your page content width */
  margin: 0 auto;                 /* center the footer itself */
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1100;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition:all 0.3s ease-in-out;
  transform-origin: center;
  border-radius: 2px;
  display: block;
}

.menu-toggle.open .top {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open .middle {
  opacity: 0;
}

.menu-toggle.open .bottom {
  transform: rotate(-45deg) translate(14px, -14px);
}

/* Hide the break on desktop */
.mobile-break {
  display: none;
}

.policy-list {
  margin-left: 2rem;
}

.policy-list li {
  margin-bottom: 1rem;
}

/* Responsive adjustments for screens smaller than 768px */
@media (max-width: 768px) {
  body {
    width: auto;
    padding: 0 1rem;
  }

  h1 {
    font-size: 36px;
    margin: 1.5rem 0;
    text-align: center;
  }

  h2 {
    font-size: 28px;
  }

  h4 {
    width: 90%;  /* avoid fixed width on small */
    padding: 0.5rem 1rem;
    margin: 0 auto;
  }

  .hero {
    flex-direction: column;
    padding: 2rem 0;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-content p {
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 24px;
  }

  .btn-primary {
    font-size: 15px;
    font-weight: 700;
    margin: 0 auto;
    display: block; /* ADD THIS */
  text-align: center;
  width: fit-content;
  }

  .hero-image {
    margin-top: 1.5rem;
  }

  .problem,
  .solution {
    flex-direction: column;
    padding: 2rem 0;
  }

  .problem-image,
  .solution-image {
    flex: 1 1 100%;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .problem-image img,
  .solution-image img {
    width: 100%;
    max-width: 300px; /* scale images down */
  }

  .problem-text,
  .solution-text {
    flex: 1 1 100%;
  }

  .problem-text h2, .problem-text p, .problem-box h3, .solution-text h2, .solution-box h3, .solution-box p, .feature-text h3 {
    text-align: center;
  }

  .solution-text h4, .solution-text h2, .problem-text h4, .problem-text h2 {
    margin-bottom: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;  /* stack feature boxes */
  }

  .feature-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature-text {
    width: 100%;
    padding-left: 0;
    margin-top: 1rem;
    text-align: center;
  }

  .feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* make sure it takes full width */
    margin-bottom: 1rem; /* optional spacing */
  }

  .feature-image img {
    margin: 0 auto;
  }

  .steps {
    flex-direction: column;
    gap: 1.5rem;
  }

  .steps {
    flex-direction: column;
    align-items: center; /* centers everything including arrows */
    text-align: center;
  }

  .steps img {
    margin: 1rem 0;
    transform: rotate(90deg); /* optional: rotate arrows if they’re horizontal */
    width: 40px; /* adjust as needed */
    height: auto;
  }

  .step {
    max-width: 90%;
  }

  .step h3 {
    font-size: 40px;
  }

  .cta-box {
    padding: 1rem 2rem;
    max-width: 100%;
  }

  .cta-section h3 {
    font-size: 28px;
  }

  .form-wrapper {
    flex-direction: column;
    gap: 1rem;
  }

  /* Footer layout stack */
  .footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* ...existing mobile styles... */

  .menu-toggle {
    display: flex !important; /* Moved here to activate only on mobile */
  }

  .nav {
    font-size: 20px;
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 1.5rem;
    padding-left: 0;
    gap: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
  }

  .cta-text {
    font-size: 12px;
    font-weight: 700;
  }

  .nav.show {
    display: flex;
    max-height: 400px;
  }

  /* show the break only on small screens */
  .mobile-break {
    display: inline;
  }
}


