:root {
    --primary-color: #87a44a; /* Greenish */
    --secondary-color: #b58955; /* Brownish */
    --accent-color: #c7b198; /* Lighter Brown/Beige for accent */
    --background-color: #f4f1eb; /* Light Beige/Off-white background */
    --text-color: #3a352f; /* Dark Brown/Gray text */
    --text-muted: #7a7267; /* Muted Brown/Gray text */
    --container-width: 1100px;
    --border-radius: 8px;
    --section-bg-tint: rgba(135, 164, 74, 0.03); /* Lighter tint for backgrounds */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative; /* Needed for z-index stacking context in vision section */
    z-index: 1; /* Ensure container content is above pseudo-elements */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

header {
    /* Lighter background, subtle shadow */
    background-color: rgba(244, 241, 235, 0.85); /* Slightly transparent background */
    backdrop-filter: blur(8px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--primary-color); /* Use primary color for border */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    /* Add min-width/height if expecting a graphical logo later */
    min-height: 30px; /* Example minimum height */
    display: flex;
    align-items: center;
}

/* Styles for nav links */
.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    font-weight: 400;
    color: var(--text-muted);
    transition: color 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
     color: var(--primary-color); /* Use primary color for hover/active */
     font-weight: 600;
}

main {
    padding-top: 2rem; /* Reduce padding if header is less tall */
}

.hero {
    text-align: center;
    padding: 5rem 0; /* Adjust padding */
    position: relative;
    overflow: hidden; /* Contain pseudo-elements */
}

/* Updated background effect */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* Use new palette for radial gradient */
    background: radial-gradient(circle, rgba(135, 164, 74, 0.1), rgba(244, 241, 235, 0) 70%);
    animation: rotateBackground 20s linear infinite;
    z-index: -1;
}

@keyframes rotateBackground {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero h1, .hero .subtitle, .hero .cta-button {
    /* Prepare elements for scroll animation */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hero h1.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.hero .subtitle.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s; /* Stagger */
}
.hero .cta-button.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s; /* Stagger */
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    /* Gradient text using new colors */
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Fallback color */
    color: var(--primary-color);
}

.hero .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.cta-button {
    display: inline-block;
    /* Gradient using new colors */
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white; /* Keep text white for contrast */
    padding: 0.9rem 2.5rem;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Adjust shadow color */
    box-shadow: 0 4px 15px rgba(135, 164, 74, 0.3); /* Slightly stronger shadow */
}

.cta-button:hover {
    transform: translateY(-3px);
    /* Adjust hover shadow color */
    box-shadow: 0 6px 20px rgba(135, 164, 74, 0.5); /* Stronger hover shadow */
    color: white; /* Ensure text color stays white on hover */
}

.hero-visual {
    margin-top: 4rem;
    height: 150px; /* Adjust height as needed */
    opacity: 0; /* Start hidden for animation */
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: 0.3s; /* Appear after text */
}
.hero-visual.is-visible {
    opacity: 1;
    transform: scale(1);
}

.hero-visual svg {
    max-width: 400px;
    height: 100%;
    display: block;
    margin: 0 auto;
    /* Update stroke color in SVG paths via CSS if needed, or directly in HTML */
}
.hero-visual svg path {
    stroke: var(--secondary-color); /* Example: Use secondary color for paths */
    opacity: 0.6;
}
/* Apply theme colors to SVG gradients */
.hero-visual svg #grad1 stop[offset="0%"] { stop-color: var(--primary-color); }
.hero-visual svg #grad1 stop[offset="100%"] { stop-color: var(--secondary-color); }
.hero-visual svg #grad2 stop[offset="0%"] { stop-color: var(--secondary-color); }
.hero-visual svg #grad2 stop[offset="100%"] { stop-color: var(--primary-color); opacity: 0.7; } /* Match primary instead of rgba */


/* Styles for content sections */
.content-section {
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Subtle alternating background */
.content-section:nth-of-type(odd) {
    background-color: var(--section-bg-tint);
}
/* Keep vision section dark */
#vision.content-section {
     background-color: #3a352f;
}
/* Make FAQ section tint slightly stronger if needed */
#faq.content-section {
     background-color: rgba(135, 164, 74, 0.06);
}

.content-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color); /* Default to primary color */
    margin-bottom: 1.5rem;
}

.content-section p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 1rem auto;
    line-height: 1.7;
}

/* --- Vision Section Specific Styles --- */
#vision {
    /* Keep text color light for contrast */
    color: var(--background-color);
    position: relative; /* Ensure stacking context for images and overlay */
    overflow: hidden; /* Hide parts of images that might overflow */
    z-index: 0; /* Base stacking context */
    background-color: #3a352f; /* Add a dark base background */
}

.vision-background-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; /* Behind the blur overlay */
    display: flex; /* Use flexbox to arrange images */
    flex-wrap: wrap; /* Allow wrapping */
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ensure images don't break layout */
}

.vision-bg-image {
    /* Basic styling for background images - adjust as needed */
    flex-shrink: 0; /* Prevent shrinking */
    width: auto; /* Maintain aspect ratio */
    height: 100%; /* Try to fill height */
    max-width: 30%; /* Limit max width to prevent massive images */
    object-fit: cover; /* Cover the area, potentially cropping */
    opacity: 0; /* Start hidden for animation */
    transform: scale(1.1); /* Start slightly zoomed */
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    margin: 0 5px; /* Small gap between images */
}

.vision-bg-image.is-visible {
    opacity: 0.25; /* Fade in */
    transform: scale(1); /* Zoom out to normal */
}

#vision::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Semi-transparent dark overlay */
    background-color: rgba(40, 37, 33, 0.7); /* Slightly darker overlay for better readability over images */
    /* Blur effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    z-index: -1; /* Between background images and content */
}

#vision .container {
    position: relative; /* Ensure container content is above pseudo-elements */
    z-index: 1; /* Make sure text is above the ::after overlay */
}

#vision h2 {
    color: var(--background-color); /* Ensure heading is light */
}

#vision p {
     color: rgba(244, 241, 235, 0.9); /* Slightly transparent light text */
}
#vision a {
    color: var(--accent-color); /* Use accent or light color for links */
}
#vision a:hover {
    color: var(--background-color); /* Brighter on hover */
}

/* --- FAQ Section Styles --- */
#faq {
}

.faq-container {
    max-width: 800px;
    margin: 2rem auto 0 auto; /* Add top margin */
    text-align: left; /* Align FAQ content left */
}

.faq-container.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.faq-container.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item {
    background-color: #fff; /* White background for items */
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(58, 53, 47, 0.1);
    box-shadow: 0 2px 5px rgba(58, 53, 47, 0.05);
    transition: box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.faq-item:hover {
     box-shadow: 0 4px 10px rgba(58, 53, 47, 0.1);
}

.faq-container.is-visible .faq-item {
    opacity: 1;
    transform: translateY(0);
}
.faq-container.is-visible .faq-item:nth-child(1) { transition-delay: 0.05s; }
.faq-container.is-visible .faq-item:nth-child(2) { transition-delay: 0.1s; }
.faq-container.is-visible .faq-item:nth-child(3) { transition-delay: 0.15s; }
.faq-container.is-visible .faq-item:nth-child(4) { transition-delay: 0.2s; }

.faq-question {
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--primary-color); /* Ensure primary color */
    cursor: pointer;
    list-style: none; /* Remove default marker */
    display: flex; /* Use flexbox for alignment */
    justify-content: space-between; /* Put icon on the right */
    align-items: center;
    transition: background-color 0.2s ease;
}
.faq-question:hover {
    background-color: rgba(135, 164, 74, 0.05); /* Subtle hover background */
}

.faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome/Safari */
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--secondary-color); /* Ensure secondary color */
    transition: transform 0.3s ease;
}

.faq-item[open] > .faq-question::after {
    transform: rotate(45deg); /* Rotate '+' to 'x' */
}
.faq-item[open] > .faq-question {
    border-bottom: 1px solid var(--section-bg-tint); /* Use theme tint for border */
}

.faq-answer {
    padding: 0;
    color: var(--text-muted);
    line-height: 1.7;
    overflow: hidden; /* Crucial for height animation */
    transition: height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    height: 0; /* Start closed */
}

.faq-answer-content {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid var(--section-bg-tint); /* Use theme tint for border */
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* --- Pricing Section Styles --- */
#pricing {
    background-color: var(--background-color);
}

#pricing .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#pricing p {
    margin-bottom: 2rem;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 900px;
}

.pricing-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.pricing-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--section-bg-tint);
    color: var(--text-muted);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card.premium {
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    color: white;
}

.pricing-card.premium h3,
.pricing-card.premium .price,
.pricing-card.premium ul li {
    color: white;
}

.pricing-card.premium ul li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.premium .cta-button {
    background: #fff;
    color: var(--primary-color);
}
.pricing-card.premium .cta-button:hover {
     color: var(--secondary-color);
}

/* Responsive adjustments for pricing section */
@media (max-width: 768px) {
    .pricing-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .pricing-card {
        max-width: 400px;
        width: 100%;
    }
}

/* --- Scroll Animation Base Styles --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px); /* Start slightly lower */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Apply to sections and elements that should fade/slide in */
.content-section.animate-on-scroll {
}

#vision .container.animate-on-scroll > * {
     opacity: 0;
     transform: translateY(20px);
     transition: opacity 0.6s ease-out, transform 0.6s ease-out;
     transition-delay: 0.2s; /* Delay content animation slightly */
}
#vision .container.animate-on-scroll.is-visible > * {
      opacity: 1;
      transform: translateY(0);
}
#vision .container.animate-on-scroll.is-visible > h2 { transition-delay: 0.2s; }
#vision .container.animate-on-scroll.is-visible > p { transition-delay: 0.3s; }

/* --- End Scroll Animation --- */

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

    .hero .subtitle {
        font-size: 1rem;
    }

     .content-section h2 {
        font-size: 2rem;
    }
     .content-section p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .hero-visual {
        margin-top: 3rem;
        height: 120px;
    }

     nav {
       /* Keep flex-row for wider small screens but allow wrapping */
       flex-wrap: wrap;
       justify-content: center; /* Center items when wrapped */
       gap: 0.5rem 2rem; /* Add gap for wrapped items */
    }
    .logo {
        flex-basis: 100%; /* Allow logo to take full width if needed */
        text-align: center; /* Center logo text when wrapped */
        margin-bottom: 0.5rem; /* Space below logo when wrapped */
    }
    .nav-links {
        /* margin-top: 0.5rem; /* Remove top margin as gap handles spacing */
        flex-basis: 100%; /* Make links take full width when wrapped */
        justify-content: center; /* Center links */
    }
     .nav-links li {
         margin: 0 1rem; /* Adjust spacing between links */
    }

    .faq-question {
         padding: 0.8rem 1.2rem;
    }
    .faq-answer-content { /* Adjust padding */
         padding: 0.8rem 1.2rem 1.2rem 1.2rem;
     }
    .vision-bg-image {
        max-width: 45%; /* Allow slightly larger images on smaller screens */
        margin: 0 2px;
     }
}

@media (max-width: 480px) {
     .hero h1 {
        font-size: 2.2rem;
    }
     .hero {
        padding: 3rem 0;
    }
    .hero-visual {
         height: 100px;
         margin-top: 2.5rem;
    }
    .content-section {
        padding: 3rem 0;
    }
     .nav-links li {
         margin: 0 0.7rem; /* Closer links on very small screens */
    }
    .cta-button {
         padding: 0.7rem 1.5rem;
         font-size: 0.9rem;
    }

     .faq-question {
         font-size: 0.9rem;
         padding: 0.7rem 1rem;
     }
      .faq-answer-content { /* Adjust padding */
         font-size: 0.9rem;
         padding: 0.7rem 1rem 1rem 1rem;
     }
      .faq-question::after { /* Make icon smaller */
         font-size: 1.2rem;
     }
     .vision-bg-image {
        max-width: 80%; /* Maybe show fewer, larger images on mobile */
        height: 80%;
     }
}

footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--accent-color); /* Use accent color for footer border */
    color: var(--text-muted);
    font-size: 0.9rem;
    background-color: var(--section-bg-tint); /* Add subtle background tint */
}

.contact-button {
    margin-top: 1rem;
    background: var(--secondary-color); /* Solid secondary color */
    box-shadow: 0 4px 15px rgba(181, 137, 85, 0.3); /* Secondary shadow */
}
.contact-button:hover {
     background: var(--primary-color); /* Swap to primary on hover */
     box-shadow: 0 6px 20px rgba(135, 164, 74, 0.4); /* Primary shadow */
     transform: translateY(-2px); /* Less lift */
}