:root {
    --primary-color: #28a745;
    --secondary-color: #5cb85c;
    --accent-color: #d4edda;
    --background-color: #f8f9fa;
    --footer-bg-color: #343a40;
    --text-color: #333;
    --light-text-color: #f8f9fa;
    --border-color: rgba(40, 167, 69, 0.3);
    --hover-shadow-color: rgba(40, 167, 69, 0.4);
    --neumorphic-light: #ffffff;
    --neumorphic-dark: #d1d9e6;
    --neon-green: #39ff14;
    --neon-shadow: 0 0 5px var(--neon-green), 0 0 10px var(--neon-green);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --font-family-primary: 'Open Sans', sans-serif;
    --font-family-secondary: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-primary);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-secondary);
    color: var(--primary-color);
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    line-height: 1.2;
}

h1 {
    font-size: 2.8em;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.2em;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.8em;
    font-weight: 600;
}

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);
}

ul, ol {
    margin-bottom: 1em;
    padding-left: 20px;
}

/* Header - Claymorphism, Neon, Sticky, Hide on scroll */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-md);
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.1), -6px -6px 12px rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0 0 20px 20px;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--neon-green);
    box-shadow: var(--neon-shadow), 6px 6px 12px rgba(0, 0, 0, 0.1), -6px -6px 12px rgba(255, 255, 255, 0.7);
}

.header.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.logo {
    font-family: var(--font-family-secondary);
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 3px var(--neon-green);
    letter-spacing: -0.05em;
    margin-right: var(--spacing-md);
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: var(--spacing-md);
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: var(--border-radius-sm);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.main-nav a:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1), -3px -3px 6px rgba(255, 255, 255, 0.5);
    text-shadow: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 9999px; /* Fully rounded */
    border: none;
    font-family: var(--font-family-primary);
    font-size: 1em;
    font-weight: 600;
    color: var(--light-text-color);
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.4s ease;
    background-size: 200% 200%;
    background-position: 0% 0%;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 5px 10px rgba(0, 0, 0, 0.2);
    background-position: 100% 100%;
}

.btn:active {
    transform: translateY(0px) scale(0.98);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Sections */
.section {
    padding: var(--spacing-lg) var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius-md);
    background-color: var(--background-color);
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.05), -8px -8px 16px rgba(255, 255, 255, 0.6);
    transition: background-color 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
    overflow: hidden; /* For inner animations */
}

.section:nth-of-type(odd) {
    background-color: var(--section-bg-colors-1, #e9f7ef);
}

.section:nth-of-type(even) {
    background-color: var(--section-bg-colors-2, #ffffff);
}

.section:nth-of-type(3n+0) {
    background-color: var(--section-bg-colors-3, #d4edda);
}

.section:nth-of-type(4n+0) {
    background-color: var(--section-bg-colors-4, #e2eafc);
}

.section:nth-of-type(5n+0) {
    background-color: var(--section-bg-colors-5, #f0f8ff);
}

.section:nth-of-type(6n+0) {
    background-color: var(--section-bg-colors-6, #cfe2f3);
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05), inset -2px -2px 5px rgba(255, 255, 255, 0.5);
    font-family: var(--font-family-primary);
    font-size: 1em;
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form-control::placeholder {
    color: #999;
    opacity: 0.8;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.08), inset -2px -2px 5px rgba(255, 255, 255, 0.6), 0 0 0 3px rgba(40, 167, 69, 0.2), var(--neon-shadow);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
    transform: scale(1.01);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Alpine.js specific styles for transitions */
[x-transition] {
    transition-property: all;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[x-transition:enter] {
    opacity: 0;
    transform: translateY(10px);
}

[x-transition:enter-start] {
    opacity: 0;
    transform: translateY(10px);
}

[x-transition:enter-end] {
    opacity: 1;
    transform: translateY(0);
}

[x-transition:leave] {
    opacity: 1;
    transform: translateY(0);
}

[x-transition:leave-start] {
    opacity: 1;
    transform: translateY(0);
}

[x-transition:leave-end] {
    opacity: 0;
    transform: translateY(10px);
}

/* Card Component Example */
.card {
    background-color: var(--neumorphic-light);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.05), -8px -8px 16px rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.1), -12px -12px 24px rgba(255, 255, 255, 0.8), 0 0 15px rgba(40, 167, 69, 0.3);
}

/* Footer */
.footer {
    background-color: var(--footer-bg-color);
    color: var(--light-text-color);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    border-top: 5px solid var(--primary-color);
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer p {
    margin: 0;
    font-size: 0.9em;
}

.footer a {
    color: var(--primary-color);
    font-weight: 500;
}

.footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Utility classes (considering Tailwind exists, these are for custom overrides/additions) */
.text-center {
    text-align: center;
}

.max-w-screen-xl {
    max-width: 1280px;
    margin: 0 auto;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-md);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.8em;
    }
    .main-nav ul {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    .header-content {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    .logo {
        margin-right: 0;
        margin-bottom: var(--spacing-xs);
    }
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
    .section {
        padding: var(--spacing-md) var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.5em;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Alpine.js x-cloak for hiding uninitialized content */
[x-cloak] {
    display: none !important;
}


/* 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;
    }
}