:root {
    /* Colors */
    --primary-color: #76B947;
    --secondary-color: #B1D4E0;
    --background-color: #F0F8F1;
    --footer-bg-color: #2C5F2D;
    --button-color: #76B947;
    --section-bg-1: #E8F1E4;
    --section-bg-2: #F8FBF6;
    --section-bg-3: #D4E0BF;
    --section-bg-4: #F0FCEB;
    --section-bg-5: #CCE8CC;
    --section-bg-6: #E1EDD6;
    --text-color-dark: #2C5F2D;
    --text-color-light: #F0F8F1;
    --glass-light: rgba(255, 255, 255, 0.3);
    --glass-dark: rgba(0, 0, 0, 0.05);

    /* Typography */
    --font-family-primary: 'Poppins', sans-serif;
    --font-family-secondary: 'Lora', serif;
    --font-size-base: 1rem;
    --line-height-base: 1.7;

    /* Spacing */
    --spacing-unit: 0.5rem;
    --padding-sm: calc(var(--spacing-unit) * 2);   /* 1rem */
    --padding-md: calc(var(--spacing-unit) * 4);   /* 2rem */
    --padding-lg: calc(var(--spacing-unit) * 8);   /* 4rem */

    /* Border Radius */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1.5rem; /* For organic shapes */
    --border-radius-lg: 3rem; /* For larger elements */
    --border-radius-organic: 30% 70% 70% 30% / 30% 30% 70% 70%;

    /* Shadows */
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --shadow-inset-soft: inset 2px 2px 5px rgba(0, 0, 0, 0.05), inset -2px -2px 5px rgba(255, 255, 255, 0.7);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color-dark);
    background-color: var(--background-color);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-secondary);
    color: var(--text-color-dark);
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    font-weight: 500;
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
    color: var(--secondary-color);
    transform: translateY(-1px);
}

/* Layout & Structure */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--padding-md);
}

section {
    padding: var(--padding-lg) var(--padding-md);
    margin-bottom: var(--padding-md);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-light);
    background-color: var(--section-bg-2); /* Default section bg */
    transition: background-color 0.4s ease;
}

section:nth-of-type(even) {
    background-color: var(--section-bg-1);
}

/* Specific Section Backgrounds */
.section-1 { background-color: var(--section-bg-1); }
.section-2 { background-color: var(--section-bg-2); }
.section-3 { background-color: var(--section-bg-3); }
.section-4 { background-color: var(--section-bg-4); }
.section-5 { background-color: var(--section-bg-5); }
.section-6 { background-color: var(--section-bg-6); }

/* Glassmorphism Effect */
.glass-card, .glass-element {
    background: var(--glass-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--glass-dark);
    box-shadow: var(--shadow-glass);
    padding: var(--padding-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover, .glass-element:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: var(--border-radius-lg); /* Organic button shape */
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-light);
}

.btn-primary {
    background-color: var(--button-color);
    color: var(--text-color-light);
    border: 2px solid var(--button-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--button-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--glass-dark);
    border-radius: var(--border-radius-sm);
    background-color: var(--glass-light);
    color: var(--text-color-dark);
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    box-shadow: var(--shadow-inset-soft);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(118, 185, 71, 0.2);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color-dark);
}

/* Header & Footer */
header {
    background-color: var(--background-color);
    padding: var(--padding-md);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-family-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--padding-sm);
}

nav a {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

footer {
    background-color: var(--footer-bg-color);
    color: var(--text-color-light);
    padding: var(--padding-lg) var(--padding-md);
    text-align: center;
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
    margin-top: var(--padding-lg);
}

footer a {
    color: var(--secondary-color);
}

footer a:hover {
    color: var(--primary-color);
}

/* Utility Classes & Alpine.js related styles */
[x-cloak] {
    display: none !important;
}

.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s ease;
}
.fade-enter, .fade-leave-to {
    opacity: 0;
}

.slide-up-enter-active, .slide-up-leave-active {
    transition: all 0.4s ease-out;
}
.slide-up-enter, .slide-up-leave-to {
    opacity: 0;
    transform: translateY(20px);
}

/* Organic Shapes */
.organic-shape {
    border-radius: var(--border-radius-organic);
    overflow: hidden;
}

/* Micro-interactions */
.hover-grow:hover {
    transform: scale(1.02);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .header-content {
        flex-direction: column;
        gap: var(--padding-sm);
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    section {
        padding: var(--padding-md);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: var(--padding-sm);
    }

    footer {
        padding: var(--padding-md) var(--padding-sm);
    }
}

/* Custom scrollbar for a softer look */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
    border: 2px solid var(--background-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Alpine.js specific styles for dropdowns/modals */
.dropdown-menu {
    position: absolute;
    background: var(--glass-light);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-dark);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-glass);
    padding: var(--padding-sm);
    margin-top: 0.5rem;
    z-index: 50;
    min-width: 150px;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-color-dark);
    border-radius: 0.3rem;
}

.dropdown-menu a:hover {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--glass-light);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-dark);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-glass);
    padding: var(--padding-lg);
    max-width: 500px;
    width: 90%;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: var(--padding-sm);
    right: var(--padding-sm);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color-dark);
    transition: color 0.3s ease;
}

.modal-close-btn:hover {
    color: var(--primary-color);
}

/* Alpine.js Transition styles for Modals */
.modal-enter-active, .modal-leave-active {
    transition: all 0.3s ease-out;
}
.modal-enter, .modal-leave-to {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
}
.modal-overlay-enter-active, .modal-overlay-leave-active {
    transition: opacity 0.3s ease-out;
}
.modal-overlay-enter, .modal-overlay-leave-to {
    opacity: 0;
}

/* Image styling */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-light);
}

.img-organic {
    border-radius: var(--border-radius-organic);
}

/* Card Component */
.card {
    background: var(--glass-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--glass-dark);
    box-shadow: var(--shadow-glass);
    padding: var(--padding-md);
    margin-bottom: var(--padding-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 35px 0 rgba(31, 38, 135, 0.15);
}

.card-title {
    font-family: var(--font-family-secondary);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Subtle Gradient Background for Hero/Key Sections */
.hero-section {
    background: linear-gradient(135deg, var(--background-color) 0%, var(--section-bg-3) 100%);
    padding-top: var(--padding-lg);
    padding-bottom: var(--padding-lg);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--padding-lg);
    box-shadow: var(--shadow-glass);
    text-align: center;
}

.hero-section h1 {
    color: var(--text-color-dark);
    margin-bottom: var(--padding-sm);
}

.hero-section p {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    color: var(--text-color-dark);
    opacity: 0.9;
}


/* 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;
    }
}