:root {
    --color-primary: #10B981;
    --color-secondary: #22D3EE;
    --color-accent: #059669;
    --color-background: #F0FDF4;
    --color-footer-bg: #065F46;
    --color-text-dark: #064E3B;
    --color-text-light: #ECFDF5;
    --color-section-1: #F0FDF4;
    --color-section-2: #ECFEFF;
    --color-section-3: #D1FAE5;
    --color-section-4: #FDF2F8;
    --color-section-5: #F0FDF4;

    --font-family-heading: 'Poppins', sans-serif;
    --font-family-body: 'Inter', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;

    --border-radius-sm: 0.75rem;
    --border-radius-md: 1.5rem;
    --border-radius-lg: 2.5rem;

    --shadow-soft-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-soft-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-soft-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@600;700&display=swap');

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-body);
    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-text-dark);
    line-height: 1.2;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.025em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.75rem;
    font-weight: 700;
}

h3 {
    font-size: 2.25rem;
    font-weight: 600;
}

h4 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
    font-weight: 400;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

ul, ol {
    margin: 0;
    padding: 0 var(--spacing-md);
    list-style-position: inside;
}

li {
    margin-bottom: var(--spacing-sm);
    font-size: 1.05rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-light);
    background-color: var(--color-accent);
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-soft-sm);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: color-mix(in srgb, var(--color-accent) 90%, black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft-md);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-soft-sm);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    background-color: transparent;
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft-sm);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: none;
}

.card {
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft-md);
    padding: var(--spacing-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.6); /* Subtle glassmorphism border */
    backdrop-filter: blur(8px); /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(8px);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft-lg);
}

/* Specific section backgrounds based on design_preferences */
.section-bg-1 { background-color: var(--color-section-1); }
.section-bg-2 { background-color: var(--color-section-2); }
.section-bg-3 { background-color: var(--color-section-3); }
.section-bg-4 { background-color: var(--color-section-4); }
.section-bg-5 { background-color: var(--color-section-5); }

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    border: 1px solid #D1FAE5;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--color-text-dark);
}

/* Footer specific styles */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
    margin-top: var(--spacing-xl);
    box-shadow: inset 0 8px 30px rgba(0,0,0,0.2);
}

.footer a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Organic Shapes & Gradients for sections/elements */
.gradient-overlay-section {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

.gradient-overlay-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

.organic-shape-element {
    border-radius: 40% 60% 70% 30% / 30% 30% 70% 70%;
    transition: border-radius 0.8s ease-in-out;
}

.organic-shape-element:hover {
    border-radius: 60% 40% 30% 70% / 70% 70% 30% 30%;
}

/* Alpine.js Transitions */
[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: transform 0.5s ease-out, opacity 0.5s ease-out;
}
.slide-up-enter, .slide-up-leave-to {
    opacity: 0;
    transform: translateY(20px);
}

/* Accessibility Focus States */
*:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.8rem; }
    p { font-size: 1rem; }
    .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }
    .btn-primary, .btn-secondary {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    p { font-size: 0.95rem; }
    .card {
        padding: var(--spacing-md);
    }
    .footer {
        padding: var(--spacing-lg) 0;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    .btn-primary, .btn-secondary {
        width: 100%;
        margin-bottom: var(--spacing-sm);
    }
}


/* 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;
    }
}