:root {
    /* Colors */
    --color-primary: #4CAF50;
    --color-secondary: #8BC34A;
    --color-accent: #6C9F3E;
    --color-background: #F9FBF8;
    --color-footer-bg: #304D30;
    --color-text-dark: #333333;
    --color-text-light: #FFFFFF;
    --color-neutral-light: #F1FAE0;
    --color-neutral-medium: #E7F0D0;
    --color-neutral-dark: #D9E6C3;

    /* Spacing Scale */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;

    /* Border Radius */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.12);

    /* Fonts */
    --font-family-heading: 'Poppins', sans-serif;
    --font-family-body: 'Lato', sans-serif;
    --font-size-base: 18px;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    font-size: var(--font-size-base);
    line-height: 1.65;
    color: var(--color-text-dark);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.2em;
    font-weight: 700;
}

h2 {
    font-size: 2.5em;
    font-weight: 600;
    color: var(--color-accent);
}

h3 {
    font-size: 1.8em;
    font-weight: 600;
}

h4 {
    font-size: 1.4em;
    font-weight: 500;
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

li {
    margin-bottom: 0.5em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout & Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

section {
    padding: var(--spacing-xl) 0;
    overflow: hidden;
    position: relative;
}

section:nth-of-type(even) {
    background-color: var(--color-neutral-light);
}

section:nth-of-type(odd) {
    background-color: var(--color-background);
}

/* Specific section background colors */
.section-white {
    background-color: #FFFFFF;
}
.section-faded-green-light {
    background-color: #F1FAE0;
}
.section-faded-green-medium {
    background-color: #E7F0D0;
}
.section-faded-green-dark {
    background-color: #D9E6C3;
}


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8em 1.8em;
    border-radius: var(--border-radius-md);
    font-family: var(--font-family-heading);
    font-size: 1em;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    border: 2px solid var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Cards */
.card {
    background-color: #FFFFFF;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border for definition */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 500;
    color: var(--color-primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8em 1em;
    border: 1px solid var(--color-neutral-dark);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family-body);
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2); /* Focus ring */
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-lg) 0;
    text-align: center;
    font-size: 0.9em;
}

footer a {
    color: var(--color-secondary);
}

footer a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Alpine.js specific styles (for x-show, x-cloak) */
[x-cloak] {
    display: none !important;
}

/* Transitions for Alpine.js x-show */
/* Example: Fade in/out */
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.3s ease;
}
.fade-enter-from, .fade-leave-to {
    opacity: 0;
}

/* Example: Slide and fade */
.slide-fade-enter-active {
    transition: all 0.3s ease-out;
}
.slide-fade-leave-active {
    transition: all 0.3s ease-in;
}
.slide-fade-enter-from,
.slide-fade-leave-to {
    transform: translateY(20px);
    opacity: 0;
}

/* Micro-interactions: subtle animations */
.hover-grow:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease-in-out;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    transition: all 0.2s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --font-size-base: 16px;
        --spacing-lg: 32px;
        --spacing-xl: 60px;
    }

    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.5em;
    }

    .container {
        padding: 0 var(--spacing-xs);
    }

    .card {
        padding: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    .btn {
        width: 100%;
        padding: 0.7em 1.5em;
    }
}

/* Unique Visual Element: Organic Green Wave Divider */
.section-divider-wave {
    background: linear-gradient(to bottom, var(--color-background) 50%, var(--color-neutral-light) 50%);
    position: relative;
    height: 100px; /* Adjust height as needed */
    margin-top: -1px; /* To prevent gap */
}

.section-divider-wave::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' class='shape-fill' fill='%23F9FBF8'%3E%3C/path%3E%3C/svg%3E") no-repeat center top;
    background-size: cover;
    transform: translateY(-50%); /* Adjust to position the wave correctly */
}

.section-divider-wave.reversed::before {
    transform: scaleY(-1) translateY(-50%);
}

/* Health Iconography (example, assuming SVG or font icons) */
.icon-health {
    color: var(--color-primary);
    font-size: 2.5em;
    margin-bottom: var(--spacing-xs);
}

.icon-health-small {
    font-size: 1.5em;
    color: var(--color-secondary);
}

/* Accessibility focus states */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}