:root {
    /* Colors */
    --color-primary: #6C9D86;
    --color-secondary: #A9E4D7;
    --color-background: #F8FBF8;
    --color-footer-bg: #2C3E50;
    --color-button: #6C9D86;
    --color-text-dark: #2C3E50;
    --color-text-light: #F8FBF8;
    --color-accent: #6C9D86; /* Using primary as accent for harmony */

    --color-section-bg-1: #E8F5E9;
    --color-section-bg-2: #F1F8E9;
    --color-section-bg-3: #E0F2F7;
    --color-section-bg-4: #E1F5FE;
    --color-section-bg-5: #FFFDE7;
    --color-section-bg-6: #DCE7EB;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-size-base: 1.125rem; /* 18px */
    --line-height-base: 1.7;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;

    /* Border Radius */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 1.5rem;
    --border-radius-full: 9999px;

    /* Shadows */
    --shadow-soft: 0px 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-clay-inner: inset 2px 2px 5px rgba(0, 0, 0, 0.1), inset -2px -2px 5px rgba(255, 255, 255, 0.7);
    --shadow-clay-outer: 6px 6px 12px rgba(0, 0, 0, 0.15), -6px -6px 12px rgba(255, 255, 255, 0.8);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text-dark);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    line-height: 1.2;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

h1 { font-size: 3.5rem; } /* 56px */
h2 { font-size: 2.75rem; } /* 44px */
h3 { font-size: 2.25rem; } /* 36px */
h4 { font-size: 1.75rem; } /* 28px */
h5 { font-size: 1.25rem; } /* 20px */
h6 { font-size: 1rem; } /* 16px */

p {
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-base);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

ul, ol {
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

/* Layout & Structure */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

section {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-bottom-left-radius: var(--border-radius-lg);
    border-bottom-right-radius: var(--border-radius-lg);
    padding: var(--spacing-xs) 0;
    box-shadow: var(--shadow-glass);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.header-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
}

.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--spacing-lg);
}

.header-nav a {
    color: var(--color-text-dark);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.header-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.header-nav a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease-in-out;
    text-align: center;
    text-decoration: none;
    background-color: var(--color-button);
    color: var(--color-text-light);
    box-shadow: var(--shadow-clay-outer); /* Initial clay-like shadow */
}

/* Dynamically adjust text color for contrast */
.btn.btn-primary {
    background-color: var(--color-button);
    color: var(--color-text-light); /* Assuming light text on primary button */
}
.btn.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-dark); /* Assuming dark text on secondary button */
    box-shadow: var(--shadow-clay-outer);
}


.btn:hover {
    transform: translateY(-2px);
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.2), -8px -8px 16px rgba(255, 255, 255, 0.8); /* Deeper shadow on hover */
    background: linear-gradient(145deg, #7cafa4, #5a8a70); /* Subtle gradient on hover */
}

.btn:active {
    transform: translateY(1px);
    box-shadow: var(--shadow-clay-inner); /* Inner shadow on click */
}


/* Section Backgrounds */
.section-bg-1 { background-color: var(--color-section-bg-1); }
.section-bg-2 { background-color: var(--color-section-bg-2); }
.section-bg-3 { background-color: var(--color-section-bg-3); }
.section-bg-4 { background-color: var(--color-section-bg-4); }
.section-bg-5 { background-color: var(--color-section-bg-5); }
.section-bg-6 { background-color: var(--color-section-bg-6); }

/* Hero Section Specifics */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-text-light);
    padding-top: 150px; /* Account for sticky header */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 60% 80%, rgba(255,255,255,0.1) 0%, transparent 40%),
                radial-gradient(circle at 20% 20%, rgba(255,255,255,0.05) 0%, transparent 30%);
    animation: subtleGradientMove 20s infinite alternate ease-in-out;
    z-index: 0;
}

@keyframes subtleGradientMove {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(5%, 5%) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    color: var(--color-text-light);
    font-size: 4.5rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

/* Cards */
.card {
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.12);
}

/* Form Elements */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-text-dark);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: var(--spacing-xs);
}

/* Footer */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer h4 {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: var(--spacing-xs);
}

.footer a {
    color: var(--color-text-light);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-sm);
}

.social-icons a {
    color: var(--color-text-light);
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    color: var(--color-secondary);
    transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-full);
    font-size: 1.2rem;
    line-height: 1;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

/* Utility Classes for Organic Shapes (Example: for a section background or image overlay) */
.shape-organic-blob-1 {
    position: absolute;
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, rgba(var(--color-primary-rgb), 0.3), rgba(var(--color-secondary-rgb), 0.3));
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    filter: blur(50px);
    animation: blobMove 15s infinite alternate ease-in-out;
    z-index: -1;
    opacity: 0.7;
}

.shape-organic-blob-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(var(--color-secondary-rgb), 0.4), rgba(var(--color-primary-rgb), 0.2));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(60px);
    animation: blobMoveReverse 18s infinite alternate ease-in-out;
    z-index: -1;
    opacity: 0.6;
}

@keyframes blobMove {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, 30px) scale(1.1); }
}

@keyframes blobMoveReverse {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-25px, -15px) scale(1.05); }
}

/* Animations (Placeholder for AOS integration) */
[data-aos="fade-up"] {
    transform: translateY(20px);
    opacity: 0;
    transition-property: transform, opacity;
}
[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
    opacity: 0;
    transition-property: transform, opacity;
}
[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
    opacity: 1;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.8rem; }
    .hero-content h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    :root {
        --font-size-base: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.2rem; }

    .header-nav {
        display: none; /* Hide nav for mobile, typically toggled by a hamburger menu */
    }

    .header-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-sm);
    }

    .header-logo {
        flex-basis: 100%;
        text-align: center;
        margin-bottom: var(--spacing-sm);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .back-to-top {
        bottom: var(--spacing-md);
        right: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }

    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }
}


/* 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;
    }
}