/* CSS Variables for Tetradic Color Scheme, Neumorphism, and Eco-Minimalism */
:root {
    /* Tetradic Color Palette (Example: Green, Magenta, Cyan, Yellow) */
    --color-primary: #4CAF50; /* Vibrant Green */
    --color-primary-dark: #388E3C; /* Darker Green */
    --color-primary-light: #81C784; /* Lighter Green */
    --color-accent-1: #E91E63; /* Magenta (Complement) */
    --color-accent-1-dark: #C2185B; /* Darker Magenta */
    --color-accent-2: #00BCD4; /* Cyan (Split Complement 1) */
    --color-accent-2-dark: #0097A7; /* Darker Cyan */
    --color-accent-3: #FFEB3B; /* Yellow (Split Complement 2) - Use cautiously for text */
    --color-accent-3-dark: #FBC02D; /* Darker Yellow */


    /* Base Colors */
    --color-background-light: #F0F2F5; /* Soft Light Grey for Neumorphism */
    --color-background-dark: #2C3E50; /* Dark background for contrast sections */
    --color-text-dark: #333333; /* Standard Dark Text */
    --color-text-darker: #222222; /* Darker Text for Headings */
    --color-text-light: #FFFFFF; /* White Text */
    --color-text-light-secondary: #CCCCCC; /* Light Grey Text for less emphasis */

    /* Neumorphism Colors & Shadows (adjust based on light/dark background) */
    --neumorphic-shadow-light-dark: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.8); /* Shadow on light background */
    --neumorphic-shadow-light-inset: inset 5px 5px 10px rgba(0, 0, 0, 0.1), inset -5px -5px 10px rgba(255, 255, 255, 0.8); /* Inset shadow on light background */

    /* Eco-Minimalism elements */
    --border-radius: 12px; /* Rounded corners */
    --spacing-unit: 16px; /* Base spacing unit */

    /* Gradients (Examples) */
    --gradient-primary: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
    --gradient-dark-overlay: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)); /* Dark overlay for text on images */
    --gradient-subtle-background: linear-gradient(135deg, rgba(240, 242, 245, 0.8), rgba(220, 224, 230, 0.8)); /* Subtle background gradient */


    /* Fonts */
    --font-heading: 'Archivo Black', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Transitions */
    --transition-speed: 0.3s;
    --transition-ease: ease-in-out;
}

/* --- Global Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-background-light);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

a {
    text-decoration: none;
    color: var(--color-primary-dark);
    transition: color var(--transition-speed) var(--transition-ease);
}

a:hover {
    color: var(--color-accent-1);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.grid {
    display: grid;
    gap: var(--spacing-unit) * 2; /* 32px gap */
}

.grid-3-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.centered {
    text-align: center;
}

.content-centered {
    margin-left: auto;
    margin-right: auto;
}

.is-two-thirds {
    max-width: 66.6667%; /* Corresponds to Bulma's is-two-thirds */
    width: 100%; /* Ensure it takes full width below max */
}

.white-text {
    color: var(--color-text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Ensure readability on various backgrounds */
}

/* --- Buttons --- */
.button {
    display: inline-block;
    padding: var(--spacing-unit) * 0.75 var(--spacing-unit) * 1.5; /* 12px 24px */
    border-radius: var(--border-radius);
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all var(--transition-speed) var(--transition-ease);
    font-family: var(--font-body);
    font-size: 1em;
}

.button-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    box-shadow: var(--neumorphic-shadow-light-dark);
}

.button-primary:hover {
    background-color: var(--color-primary-dark);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2), inset -2px -2px 5px rgba(255, 255, 255, 0.5);
    transform: translateY(1px);
}

.button-secondary {
    background-color: var(--color-background-light);
    color: var(--color-primary-dark);
    box-shadow: var(--neumorphic-shadow-light-dark);
}

.button-secondary:hover {
    background-color: #E0E0E0; /* Slightly darker light background */
     box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2), inset -2px -2px 5px rgba(255, 255, 255, 0.5);
    transform: translateY(1px);
}

.button-text {
    background: none;
    border: none;
    padding: 0;
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: normal;
}

.button-text:hover {
    color: var(--color-accent-1-dark);
    text-decoration: none;
}

/* Form Submit Button (uses button-primary styles) */
.form-submit-button {
    width: 100%;
    margin-top: var(--spacing-unit);
}


/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-darker);
    margin-bottom: var(--spacing-unit);
    line-height: 1.2;
}

h1 { font-size: 3em; }
h2 { font-size: 2.5em; color: var(--color-text-darker); } /* Ensure high contrast */
h3 { font-size: 1.8em; }

p {
    margin-bottom: var(--spacing-unit);
    color: var(--color-text-dark);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-unit) * 3; /* 48px */
    color: var(--color-text-darker); /* Ensure high contrast */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Subtle shadow for definition */
}

/* --- Header --- */
.site-header {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent for neumorphic feel */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-unit) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px); /* Glassmorphism element */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    font-family: var(--font-heading);
    font-size: 1.5em;
    color: var(--color-primary-dark);
    text-decoration: none;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-unit) * 1.5; /* 24px */
}

.nav-link {
    color: var(--color-text-dark);
    font-weight: bold;
    padding: var(--spacing-unit) * 0.5 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: all var(--transition-speed) var(--transition-ease);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.burger-menu-toggle {
    display: none; /* Hide on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Above mobile menu */
}

.burger-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-darker);
    transition: all var(--transition-speed) linear;
    transform-origin: 1px;
}

.mobile-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Position below header */
    left: 0;
    width: 100%;
    background-color: var(--color-background-light);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-unit) 0;
    transform: translateY(-100%); /* Start off-screen */
    opacity: 0;
    transition: transform var(--transition-speed) var(--transition-ease), opacity var(--transition-speed) var(--transition-ease);
}

.mobile-menu.is-open {
    display: block; /* Show when open */
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-list {
    list-style: none;
    text-align: center;
}

.mobile-nav-list li {
    margin: var(--spacing-unit) 0;
}

.mobile-nav-list .nav-link {
    font-size: 1.2em;
    padding: var(--spacing-unit) 0;
    display: block;
    color: var(--color-text-dark);
}

/* --- Sections --- */
.section {
    padding: var(--spacing-unit) * 5 0; /* 80px padding top/bottom */
    position: relative; /* Needed for parallax and overlays */
}

/* Background Image Sections */
.hero-section,
.vision-section,
.community-section,
.external-resources-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-text-light); /* Default text color for these sections */
    position: relative; /* For parallax */
    overflow: hidden; /* Prevent parallax content overflow */
}

.hero-section {
    padding-top: var(--spacing-unit) * 10; /* More padding for hero */
    padding-bottom: var(--spacing-unit) * 10;
    /* min-height: 60vh; /* Adjusted from strict min-height constraint to allow content-based height */
    display: flex;
    align-items: center; /* Center content vertically */
    position: relative; /* Ensure overlay works */
}

.hero-content {
    position: relative; /* Sit above overlay */
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 4em;
    margin-bottom: var(--spacing-unit);
    color: var(--color-text-light); /* White text */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7); /* Stronger shadow for readability */
}

.hero-subtitle {
    font-size: 1.5em;
    margin-bottom: var(--spacing-unit) * 2;
    color: var(--color-text-light-secondary);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-description {
     font-size: 1.1em;
     max-width: 800px;
     margin: 0 auto var(--spacing-unit) * 2;
     color: var(--color-text-light);
     text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}


/* Overlay for background images */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Subtle dark overlay */
    z-index: 1;
}

.overlay-dark {
     background: var(--gradient-dark-overlay); /* Stronger dark overlay */
}


/* Parallax Effect (CSS-only basic version, JS is better) */
/* .section[data-parallax] {
    background-attachment: fixed;
} */


/* --- Cards (Neumorphic) --- */
.card {
    background-color: var(--color-background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--neumorphic-shadow-light-dark);
    padding: var(--spacing-unit) * 2; /* 32px */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content */
    text-align: center; /* Center text */
    transition: transform var(--transition-speed) var(--transition-ease), box-shadow var(--transition-speed) var(--transition-ease);
}

.card.interactive-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.15), -8px -8px 15px rgba(255, 255, 255, 1);
}

.card-image {
    width: 100%; /* Ensure image container takes full width */
    max-height: 200px; /* Fixed height for consistency */
    overflow: hidden; /* Hide overflow if image is larger */
    border-radius: var(--border-radius) var(--border-radius) 0 0; /* Top corners rounded */
    margin-bottom: var(--spacing-unit);
    display: flex; /* Use flex to help center image */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.card-image img {
    width: 100%;
    height: 100%; /* Ensure image fills the container */
    object-fit: cover; /* Cover the area without distortion */
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    display: block; /* Remove extra space below image */
}


.card-content {
    width: 100%; /* Ensure content takes full width */
}

.card-title {
    margin-top: 0;
    margin-bottom: var(--spacing-unit) * 0.5;
    font-size: 1.4em;
    color: var(--color-text-darker);
}

.card-price {
    font-size: 1.8em;
    color: var(--color-primary-dark);
    font-weight: bold;
    margin-bottom: var(--spacing-unit);
}

.card-text {
    font-size: 1em;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-unit) * 1.5;
}


/* --- UI Components --- */

/* Progress Indicator */
.progress-indicator {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: var(--spacing-unit);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1), inset -2px -2px 5px rgba(255, 255, 255, 0.8); /* Inset neumorphic */
    position: relative;
    height: 30px; /* Fixed height */
}

.progress-indicator[data-label]::before {
    content: attr(data-label);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    line-height: 30px;
    color: var(--color-text-darker);
    font-weight: bold;
    z-index: 2;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    text-align: center;
    line-height: 30px;
    color: var(--color-text-light);
    font-weight: bold;
    transition: width var(--transition-speed) var(--transition-ease);
    position: relative;
    z-index: 1;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.progress-text {
    position: absolute;
    top: 0;
    right: var(--spacing-unit);
    line-height: 30px;
    color: var(--color-text-darker);
    font-weight: bold;
    z-index: 2;
}


/* Switch (Toggle) */
.switch-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-unit);
    margin-top: var(--spacing-unit) * 2;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1), inset -2px -2px 5px rgba(255, 255, 255, 0.8); /* Inset neumorphic */
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Neumorphic knob shadow */
}

input:checked + .slider {
  background-color: var(--color-primary);
   box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2), inset -2px -2px 5px rgba(255, 255, 255, 0.5);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--color-primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.switch-label {
    font-size: 1em;
    color: var(--color-text-dark);
}

/* Carousel (Basic Structure - JS handles movement) */
.carousel-container {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-unit) * 3;
}

.content-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Smooth transition for sliding */
    gap: var(--spacing-unit) * 2; /* Gap between items */
}

.carousel-item {
    flex: 0 0 auto; /* Prevent stretching/shrinking */
    width: 100%; /* Default to full width */
}

/* Adjust carousel item width for larger screens */
@media (min-width: 768px) {
    .carousel-item {
        width: calc(50% - var(--spacing-unit)); /* Two items with gap */
    }
}

@media (min-width: 1024px) {
    .carousel-item {
        width: calc(33.333% - var(--spacing-unit) * 4 / 3); /* Three items with gap */
    }
}


.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 2em;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: var(--neumorphic-shadow-light-dark);
    transition: background-color var(--transition-speed) var(--transition-ease);
}

.carousel-control:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.carousel-control.prev {
    left: var(--spacing-unit);
}

.carousel-control.next {
    right: var(--spacing-unit);
}


/* Modal Window (Basic Styles - JS handles show/hide) */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--color-background-light);
    padding: var(--spacing-unit) * 2;
    border-radius: var(--border-radius);
    box-shadow: var(--neumorphic-shadow-light-dark);
    max-width: 600px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: var(--spacing-unit);
    right: var(--spacing-unit);
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--color-text-darker);
}

.modal-close:hover {
    color: var(--color-accent-1);
}


/* --- Form Styles (Neumorphic) --- */
.contact-form-container {
    padding: var(--spacing-unit) * 3; /* More padding for the form card */
}

.form-description {
    font-size: 1.1em;
    margin-bottom: var(--spacing-unit) * 2;
    color: var(--color-text-darker);
}

.contact-form {
    display: grid;
    gap: var(--spacing-unit) * 1.5; /* 24px between form groups */
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-unit) * 0.5;
    font-weight: bold;
    color: var(--color-text-darker);
}

.neumorphic-input,
.neumorphic-textarea {
    width: 100%;
    padding: var(--spacing-unit);
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--color-background-light);
    box-shadow: var(--neumorphic-shadow-light-inset); /* Inset shadow */
    font-family: var(--font-body);
    font-size: 1em;
    color: var(--color-text-dark);
    transition: box-shadow var(--transition-speed) var(--transition-ease);
}

.neumorphic-input:focus,
.neumorphic-textarea:focus {
    outline: none;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2), inset -2px -2px 5px rgba(255, 255, 255, 0.5), 0 0 5px var(--color-primary-light); /* Add highlight on focus */
}

.neumorphic-textarea {
    resize: vertical; /* Allow vertical resize */
}


/* --- Blog Section --- */
.blog-section .card {
    text-align: left; /* Align blog card text left */
    align-items: flex-start; /* Align card content left */
}

.blog-section .card-image {
     border-radius: var(--border-radius) var(--border-radius) 0 0;
     margin-bottom: var(--spacing-unit);
}

.blog-section .card-content {
    text-align: left;
    width: 100%;
}


/* --- Events Calendar Section --- */
.event-list {
    margin-top: var(--spacing-unit) * 2;
    display: grid;
    gap: var(--spacing-unit) * 1.5; /* 24px */
}

.event-item.card {
     text-align: left; /* Align event card text left */
     align-items: flex-start; /* Align card content left */
     padding: var(--spacing-unit) * 1.5; /* Slightly less padding for events */
}

.event-title {
    margin-top: 0;
    margin-bottom: var(--spacing-unit) * 0.5;
    font-size: 1.3em;
    color: var(--color-text-darker);
}

.event-date,
.event-location {
    font-size: 0.9em;
    color: var(--color-primary-dark);
    margin-bottom: var(--spacing-unit) * 0.5;
    font-weight: bold;
}

.event-description {
    font-size: 1em;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-unit);
}


/* --- External Resources Section --- */
.external-resources-section .resources-content {
     position: relative; /* Above overlay */
     z-index: 2;
}

.resource-list {
    list-style: none;
    margin-top: var(--spacing-unit) * 2;
}

.resource-list li {
    margin-bottom: var(--spacing-unit) * 1.5; /* 24px between resources */
    background-color: rgba(255, 255, 255, 0.1); /* Subtle background for list items */
    padding: var(--spacing-unit);
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px); /* Glassmorphism */
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.resource-link {
    display: block; /* Make the whole list item clickable */
    color: var(--color-text-light);
}

.resource-link:hover {
     color: var(--color-accent-2-dark);
}

.resource-title {
    font-family: var(--font-body); /* Use body font for resource titles */
    font-size: 1.2em;
    margin-bottom: var(--spacing-unit) * 0.25;
    color: var(--color-text-light); /* White text */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.resource-description {
    font-size: 0.9em;
    color: var(--color-text-light-secondary);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}


/* --- Footer --- */
.site-footer {
    background-color: var(--color-text-darker); /* Dark background for footer */
    color: var(--color-text-light-secondary);
    padding: var(--spacing-unit) * 3 0;
    font-size: 0.9em;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--spacing-unit) * 2;
}

.footer-col {
    flex: 1;
    min-width: 150px; /* Minimum width for columns */
}

.footer-col h3 {
    color: var(--color-text-light);
    font-size: 1.1em;
    margin-bottom: var(--spacing-unit);
    font-family: var(--font-body); /* Use body font for footer headings */
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: var(--spacing-unit) * 0.5;
}

.footer-link {
    color: var(--color-text-light-secondary);
    transition: color var(--transition-speed) var(--transition-ease);
}

.footer-link:hover {
    color: var(--color-primary-light);
}

.copyright {
    text-align: center;
    margin-top: var(--spacing-unit) * 2;
    padding-top: var(--spacing-unit);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Social Icons (Text-based) */
.footer-col ul li a[href*="facebook"],
.footer-col ul li a[href*="twitter"],
.footer-col ul li a[href*="instagram"] {
     /* Add specific styles or pseudo-elements if needed */
     /* For now, just using the general footer-link style */
}


/* --- Page Specific Styles (Placeholder) --- */
/* Styles for non-index pages to prevent content overlap with header */
body.page-about main,
body.page-privacy main,
body.page-terms main,
body.page-contact main {
    padding-top: 100px; /* Adjust based on header height */
}

/* Styles for success page */
body.page-success {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--color-background-light);
    color: var(--color-text-darker);
}

body.page-success .success-content {
     max-width: 600px;
     padding: var(--spacing-unit) * 3;
     border-radius: var(--border-radius);
     box-shadow: var(--neumorphic-shadow-light-dark);
     background-color: var(--color-background-light);
}

body.page-success h2 {
    color: var(--color-primary-dark);
    margin-bottom: var(--spacing-unit);
}

body.page-success p {
    margin-bottom: var(--spacing-unit) * 2;
}


/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.5em; }

    .site-nav {
        display: none; /* Hide main nav */
    }

    .burger-menu-toggle {
        display: flex; /* Show burger icon */
    }

    .mobile-menu {
        display: none; /* Hide mobile menu by default, JS toggles 'is-open' */
    }

    .header-container {
        padding: 0 var(--spacing-unit); /* Add padding to header container */
    }

    .hero-title {
        font-size: 2.5em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

     .section {
        padding: var(--spacing-unit) * 3 0; /* Reduce section padding on mobile */
    }

    .card {
        padding: var(--spacing-unit) * 1.5;
    }

    .grid-3-cols {
         grid-template-columns: 1fr; /* Stack cards on mobile */
    }

    .content-centered.is-two-thirds {
         max-width: 95%; /* Adjust width on mobile */
    }

    .contact-form-container {
        padding: var(--spacing-unit) * 2;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-unit) * 3;
    }

    .footer-col {
        min-width: auto; /* Remove min-width constraint */
        flex: none; /* Prevent flex growth */
        width: 100%; /* Take full width */
    }

    .footer-col ul {
        padding-left: 0; /* Remove default list padding */
    }

    .cookie-consent-popup .container {
        flex-direction: column;
        gap: var(--spacing-unit);
    }

    .cookie-consent-popup p {
        margin-right: 0;
        text-align: center;
    }
}

/* Micro-interactions for interactive elements */
.interactive-button:active {
    transform: scale(0.98);
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.3), inset -1px -1px 3px rgba(255, 255, 255, 0.5);
}

.interactive-card:active {
    transform: scale(0.99);
    box-shadow: inset 3px 3px 7px rgba(0, 0, 0, 0.1), inset -3px -3px 7px rgba(255, 255, 255, 0.8);
}

.interactive-switch input:active + .slider {
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2), inset -1px -1px 3px rgba(255, 255, 255, 0.3);
}

.interactive-link:active {
     color: var(--color-accent-1-dark);
     transform: translateY(0.5px);
}

.interactive-progress .progress-bar {
    transition: width 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Springy animation example */
}


/* Animation Styles (for data-animate-in, handled by JS/Motion One) */
[data-animate-in="fade-up"] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Add a class to trigger animation, typically added by JS on scroll */
[data-animate-in].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax effect using transform (requires JS) */
.section[data-parallax].is-visible {
    /* Styles applied by JS */
}

/* Cookie Consent Popup Inline Styles - Kept separate as requested */
/* Handled by inline styles in HTML for simplicity */
/* #cookieConsentPopup { ... } */
/* #acceptCookies { ... } */

section{
    padding: 4rem 0 !important;
}

.site-nav ul{
    gap: 2rem;
    flex-wrap: wrap;
}
.button-secondary,
.button-primary{
    padding: 1rem;
}

.card{
    padding: 1rem;
}

.event-item.card{
    padding: 1rem;
}

.site-footer{
    padding: 2rem;
}