/* Global Styles */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 50px;
    background-color: #fbf5ec; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo img {
    height: 60px;        
    width: auto;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #2b5a3d;      
    font-weight: 600;
    transition: color 0.2s;
    font-size: 1rem;
}

nav a:hover {
    color: #4caf50;     
}

section {
    padding: 2rem 0;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 0rem;
    align-self: flex-start;
    color: #6d9c35; 
}

#features h2,
#benefits h2 {
    color: #2b5a3d; 
}

/* Hero/Our Selling Point */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/backgroundImage.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10rem 0;
}

#hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background-color: #4CAF50; 
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #388E3C;
}

.cards {
  position: relative;
  top: 0; 
  z-index: 1;
}
.card-wrap {
  height: 25vh;
}

.card {
  margin: 0 auto 10vh;
}

.card-wrap{
    position: relative;
    width: 100%;
    overflow: hidden;
    top: 0;
}
.card {
  background-color: white;
  padding: 24px 28px;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  margin: 0 auto;
  color: #111;
}

/* Section chrome */
#problem.scrolly {
  position: relative;
  background: #0e0f0e;
}

#problem .section-title {
  text-align: center;
  margin-bottom: 2rem;
}

/* Feature*/
.scrolly-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Video */
.scrolly-sticky {
  position: sticky;
  top: 10vh;              
  align-self: start;
  height: 80vh;           
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.video-caption {
  font-size: 0.9rem;
  color: #2b5a3d;
  opacity: 0.8;
}



.step {
  min-height: 5vh;      
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.step p {
  color: #385f45;
  max-width: 40ch;
}

.step-inner {
  max-width: 70ch;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
  transform: translateY(10px);
  opacity: 0.25;
  transition: opacity 300ms ease, transform 300ms ease;
  backdrop-filter: blur(0.5px);      
}

/* In view (JS adds .active) */
.step.active .step-inner {
  opacity: 1;
  transform: translateY(0);
}

.step h2, .step h3 {
  margin: 0.25rem 0 0.5rem 0;
  
}

@media (max-width: 900px) {
  .step-inner { padding: 0 0.5rem; }
}

/* Features Section */
#features #benefits #testimonials #download {
    background-color: #fbf5ec; /* Light Green */
}
.features-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: #4CAF50; /* Green */
}

/* Benefits Section */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background-color: #e8f5e9; 
    border-radius: 10px;
    padding: 2rem;
    text-align: left;
    transition: background-color 0.3s ease;
}

.benefit-card:hover {
    background-color: #dcedc8;
}

.benefit-card h3 {
    margin-bottom: 0.5rem;
    color: #388E3C; 
}

/* Download Section */


.download-button {
    display: inline-block;
    background-color: white;
    color: #4CAF50; 
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    margin: 1rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.download-button:hover {
    background-color: #388E3C;
    color: white;
}





/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

/* Testimonial  */
.impact-carousel {
  padding: 4rem 1.25rem;
  
  text-align: center;
}

.impact-carousel h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin-bottom: 1.5rem;
}

.ic-track {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  display: grid;
}

.ic-card {
  --pad: 1.5rem;
  width: min(720px, 92vw);
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e4efe7;
  border-radius: 16px;
  padding: var(--pad) calc(var(--pad) + .25rem);
  box-shadow: 0 10px 30px rgba(25, 60, 35, 0.08);
  display: none;             /* only active slide is visible */
}

.ic-card.is-active { display: block; }

.ic-stat {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: #eff8f1;
  border: 1px solid #d5eadb;
  margin-bottom: .75rem;
}

.ic-stat-number {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: #1f5a2f;
}
.ic-stat-label {
  font-size: .95rem;
  color: #2f6a3d;
}

.ic-quote {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
  color: #233;
  margin: .5rem auto 1rem;
}

.ic-meta {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  font-size: .95rem;
  color: #2a4a33;
}

.ic-badge {
  padding: .25rem .6rem;
  background: #f1faf3;
  border: 1px dashed #cfe7d6;
  border-radius: 999px;
  font-weight: 600;
  color: #2d6d3b;
}

.ic-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .75rem;
  max-width: 720px;
  margin: 1rem auto 0;
}

.ic-prev, .ic-next {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid #dbeee2;
  background: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ic-prev:hover, .ic-next:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }

.ic-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
}

.ic-dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  border: 1px solid #b9d7c1;
  background: #fff;
  cursor: pointer;
}
.ic-dot[aria-selected="true"] {
  background: #2f6a3d;
  border-color: #2f6a3d;
}

/* Js check */
@media (prefers-reduced-motion: reduce) {
  .ic-card { display: block; margin-bottom: 1rem; }
}


blockquote {
  font-style: italic;
  color: #333;
  margin-bottom: 0.75rem;
}

.user-name {
  font-weight: 600;
  color: #2f5d3a;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 0.5rem 0;
    }

    header .logo {
        font-size: 1.5rem;
    }

    header nav a {
        padding: 0.3rem 0.6rem;
        margin: 0 0.3rem;
    }

    #hero {
        padding: 6rem 0;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    .features-container,
    .benefits-container {
        grid-template-columns: 1fr;
    }

    #about .about-content {
        flex-direction: column;
        text-align: center;
    }

    #about .about-content img {
        width: 80%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}