:root {
    /* Colors */
    --primary-color: #6B8E23; /* Olive Drab */
    --secondary-color: #ADD8E6; /* Light Blue */
    --accent-color: #3CB371; /* Medium Sea Green */
    --background-color: #F0FFF0; /* Honeydew */
    --footer-bg-color: #4F6F33; /* Dark Olive Green */
    --text-color: #333333;
    --light-text-color: #F0FFF0;
    --border-color: rgba(107, 142, 35, 0.3); /* Transparent Olive Drab */

    /* Section Backgrounds */
    --section-bg-1: #F0FFF0; /* Honeydew */
    --section-bg-2: #FFFACD; /* Lemon Chiffon */
    --section-bg-3: #E6FFE6; /* Mint Cream */
    --section-bg-4: #F5F5DC; /* Beige */
    --section-bg-5: #E0FFFF; /* Light Cyan */
    --section-bg-6: #F0F8FF; /* Alice Blue */

    /* Typography */
    --font-family-base: 'Roboto', sans-serif;
    --font-family-heading: 'Merriweather', serif;
    --font-size-base: 1rem;
    --line-height-base: 1.7;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;

    /* Border Radius */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 2rem;
    --border-radius-circle: 50%;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --shadow-glass: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);

    /* Transitions */
    --transition-speed: 0.3s ease-in-out;
}

/* Global Styles */
body {
    font-family: var(--font-family-base);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden; /* Prevent horizontal scroll from subtle animations */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Custom Utility Classes */
.text-primary-custom { color: var(--primary-color) !important; }
.text-secondary-custom { color: var(--secondary-color) !important; }
.text-accent-custom { color: var(--accent-color) !important; }

/* Section Backgrounds */
.section-bg-1 { background-color: var(--section-bg-1); }
.section-bg-2 { background-color: var(--section-bg-2); }
.section-bg-3 { background-color: var(--section-bg-3); }
.section-bg-4 { background-color: var(--section-bg-4); }
.section-bg-5 { background-color: var(--section-bg-5); }
.section-bg-6 { background-color: var(--section-bg-6); }

/* Buttons */
.btn-custom {
    --bs-btn-color: var(--light-text-color);
    --bs-btn-bg: var(--accent-color);
    --bs-btn-border-color: var(--accent-color);
    --bs-btn-hover-color: var(--light-text-color);
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    --bs-btn-focus-shadow-rgb: 60, 179, 113; /* RGB of --accent-color */
    --bs-btn-active-color: var(--light-text-color);
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: var(--primary-color);
    --bs-btn-disabled-color: var(--light-text-color);
    --bs-btn-disabled-bg: rgba(60, 179, 113, 0.6);
    --bs-btn-disabled-border-color: rgba(60, 179, 113, 0.6);
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
}

.btn-custom:hover::before {
    width: 200%;
    height: 200%;
}

.btn-custom-outline {
    --bs-btn-color: var(--accent-color);
    --bs-btn-border-color: var(--accent-color);
    --bs-btn-hover-color: var(--light-text-color);
    --bs-btn-hover-bg: var(--accent-color);
    --bs-btn-hover-border-color: var(--accent-color);
    --bs-btn-active-color: var(--light-text-color);
    --bs-btn-active-bg: var(--accent-color);
    --bs-btn-active-border-color: var(--accent-color);
    background-color: transparent;
    box-shadow: none;
}

.btn-custom-outline:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Glassmorphism Effect */
.glass-effect {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white */
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-glass);
    transition: all var(--transition-speed);
}

.glass-effect:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-md);
}

/* Cards */
.card-custom {
    border: none;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-custom .card-header {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: var(--spacing-md);
    border-bottom: none;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    font-family: var(--font-family-heading);
    font-weight: 600;
}

.card-custom .card-body {
    padding: var(--spacing-lg);
    background-color: var(--section-bg-1); /* Use a light section background for card body */
}

/* Organic Shapes (for specific elements, e.g., badges or decorative dividers) */
.organic-shape {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transition: border-radius 1s ease-in-out;
}

.organic-shape:hover {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
}

/* Forms */
.form-control-custom {
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.form-control-custom:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(60, 179, 113, 0.25); /* Accent color with transparency */
    outline: none;
}

/* Navigation */
.navbar-custom {
    background-color: var(--background-color); /* Light background for navbar */
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.navbar-custom .navbar-brand {
    font-family: var(--font-family-heading);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: color var(--transition-speed);
}

.navbar-custom .navbar-brand:hover {
    color: var(--accent-color);
}

.navbar-custom .nav-link {
    color: var(--text-color);
    font-weight: 500;
    margin: 0 var(--spacing-sm);
    position: relative;
    transition: color var(--transition-speed);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--primary-color);
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-speed);
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    width: 100%;
}

/* Footer */
.footer-custom {
    background-color: var(--footer-bg-color);
    color: var(--light-text-color);
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
}

.footer-custom a {
    color: var(--secondary-color);
    transition: color var(--transition-speed);
}

.footer-custom a:hover {
    color: var(--light-text-color);
    text-decoration: none;
}

.footer-custom h5 {
    color: var(--light-text-color);
    font-family: var(--font-family-heading);
    margin-bottom: var(--spacing-md);
}

.footer-custom .social-icon {
    font-size: 1.5rem;
    margin-right: var(--spacing-md);
    color: var(--secondary-color);
    transition: color var(--transition-speed), transform var(--transition-speed);
}

.footer-custom .social-icon:hover {
    color: var(--light-text-color);
    transform: translateY(-3px);
}

/* Alpine.js specific styles for transitions/states */
[x-cloak] {
    display: none !important;
}

/* Fade In/Out for x-show, x-if */
.fade-enter-active, .fade-leave-active {
    transition: opacity var(--transition-speed);
}
.fade-enter, .fade-leave-to {
    opacity: 0;
}

/* Slide Down/Up for x-show, x-if */
.slide-down-enter-active, .slide-down-leave-active {
    transition: all var(--transition-speed);
    overflow: hidden;
}
.slide-down-enter, .slide-down-leave-to {
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
}

/* Custom Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--section-bg-3) 0%, var(--section-bg-5) 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: var(--border-radius-lg);
    border-bottom-right-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-xl);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(var(--bs-primary-rgb), 0.1); /* Bootstrap primary with transparency */
    border-radius: var(--border-radius-circle);
    filter: blur(40px);
    animation: float-shape 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: rgba(var(--bs-secondary-rgb), 0.15); /* Bootstrap secondary with transparency */
    border-radius: var(--border-radius-circle);
    filter: blur(30px);
    animation: float-shape 10s reverse ease-in-out infinite;
}

@keyframes float-shape {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, 20px) scale(1.05); }
    100% { transform: translate(0, 0) scale(1); }
}

.hero-section h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.hero-section p {
    font-size: 1.25rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto var(--spacing-lg) auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-section {
        padding: 4rem 0;
    }

    .hero-section h1 {
        font-size: 2.8rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .navbar-custom .nav-link {
        margin: var(--spacing-sm) 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn-custom {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .card-custom .card-body {
        padding: var(--spacing-md);
    }
}


/* Cookie Banner Additional Styles for Bootstrap */
.cookie-banner-custom {
    z-index: 1060;
    backdrop-filter: blur(10px);
}

.cookie-banner-custom .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}