/* Global Styles & CSS Variables */
:root {
    --font-primary: 'Raleway', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;

    /* Bright Color Scheme */
    --color-primary: #00A0A0; /* Bright Teal */
    --color-primary-darker: #008080; /* Darker Teal for hovers */
    --color-secondary: #A0D400; /* Bright Lime Green */
    --color-secondary-darker: #82AA00;
    --color-accent: #FF8C00; /* Bright Orange */
    --color-accent-darker: #CC7000;

    --color-text-dark: #212529; /* Very Dark Grey / Near Black */
    --color-text-light: #FFFFFF;
    --color-text-medium: #555555; /* Medium Grey for subtitles/less important text */
    --color-text-grey-light: #adb5bd; /* For subtle text on dark backgrounds */

    --color-bg-light: #FFFFFF;
    --color-bg-off-white: #F8F9FA;
    --color-bg-dark: #1E2A3A; /* Deep Slate/Charcoal */
    --color-bg-dark-transparent: rgba(30, 42, 58, 0.9); /* For glassmorphism */
    --color-bg-section-accent: #E6FFFA; /* Light Teal Tint for some sections */

    --color-border: #DEE2E6;
    --color-border-light: rgba(255, 255, 255, 0.2); /* For glassmorphism borders */

    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 12px 35px rgba(0,0,0,0.15);

    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --border-radius-large: 16px;
    --border-radius-pill: 50px;

    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.3s ease-in-out;
    --transition-morph: 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* For morphing effects */

    --header-height: 3.25rem; /* Default Bulma navbar height, adjust if custom */
    --page-content-padding-top: calc(var(--header-height) + 2rem); /* For privacy/terms */
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-secondary);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.title,
.subtitle {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text-dark); /* Default title color on light backgrounds */
}

.title.is-1 { font-size: 2.8rem; margin-bottom: 1rem; }
.title.is-2 { font-size: 2.2rem; margin-bottom: 0.9rem; }
.title.is-3 { font-size: 1.8rem; margin-bottom: 0.8rem; }
.title.is-4 { font-size: 1.5rem; margin-bottom: 0.7rem; }
.title.is-5 { font-size: 1.25rem; margin-bottom: 0.6rem; }

.subtitle {
    font-weight: 400;
    color: var(--color-text-medium);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--color-primary-darker);
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem !important; /* Bulma override */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #222222; /* Ensuring dark titles for contrast */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

/* Links that act as calls to action */
.read-more-link {
    display: inline-block;
    font-weight: bold;
    color: var(--color-accent);
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: color var(--transition-smooth), border-color var(--transition-smooth);
}
.read-more-link:hover {
    color: var(--color-accent-darker);
    border-bottom-color: var(--color-accent-darker);
}

/* Container Utility (if not using Bulma's container everywhere) */
.container-custom {
    width: 90%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Background Image Styling */
.parallax-bg, [style*="background-image"] {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.parallax-bg {
    background-attachment: fixed;
}
@media (hover: none) and (pointer: coarse), (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll; /* Disable fixed attachment on touch devices for performance */
    }
}

/* Overlay for text on background images */
.has-bg-image-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
    z-index: 1;
}
.has-bg-image-overlay > * {
    position: relative;
    z-index: 2;
}


/* --- SECTIONS --- */
.section {
    padding: 4rem 1.5rem; /* Increased padding for more space */
}
@media (max-width: 768px) {
    .section {
        padding: 2.5rem 1rem;
    }
}

.section-dark-bg {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}
.section-dark-bg .title,
.section-dark-bg .subtitle,
.section-dark-bg .label,
.section-dark-bg p,
.section-dark-bg li {
    color: var(--color-text-light);
}
.section-dark-bg .section-title,
.section-dark-bg .title {
    color: var(--color-text-light); /* Override default dark title color */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
.section-dark-bg a {
    color: var(--color-secondary);
}
.section-dark-bg a:hover {
    color: var(--color-secondary-darker);
}

.section-light-accent-bg {
    background-color: var(--color-bg-section-accent);
}

/* --- HEADER / NAVIGATION --- */
.header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1020; /* Ensure it's above other content */
    transition: background-color var(--transition-smooth);
}
.navbar-item img {
    max-height: 2.75rem; /* Slightly larger logo */
}
.site-title {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-left: 0.75rem;
}
.navbar-item, .navbar-link {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    transition: color var(--transition-smooth), background-color var(--transition-smooth), transform var(--transition-fast);
    padding: 0.75rem 1rem;
}
.navbar-item:hover,
.navbar-link:hover,
.navbar-item.is-active { /* is-active for current page might need different styling */
    background-color: transparent !important; /* Bulma override */
    color: var(--color-primary) !important;
    transform: translateY(-2px);
}
.navbar-burger span {
    background-color: var(--color-primary);
    height: 3px; /* Thicker burger lines */
    width: 22px;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}
.navbar-burger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.navbar-burger.is-active span:nth-child(2) {
    opacity: 0;
}
.navbar-burger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- HERO SECTION --- */
.hero-section { /* Uses .parallax-bg and .has-bg-image-overlay from HTML */
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Natural height is determined by Bulma's .is-large or content */
}
.hero-section .hero-body {
    padding: 6rem 1.5rem; /* More padding for impact */
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive font size */
    font-weight: 700;
    color: var(--color-text-light) !important; /* STRICT: White text */
    text-shadow: 2px 3px 6px rgba(0,0,0,0.6);
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--color-text-light) !important; /* STRICT: White text */
    text-shadow: 1px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 2.5rem;
    font-weight: 400; /* Lighter than title */
}

/* --- BUTTONS (GLOBAL) --- */
.button, button, input[type="submit"], input[type="button"] {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75em 1.75em;
    border-radius: var(--border-radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-morph); /* For morphing effects */
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: var(--shadow-soft);
    outline: none;
}
.button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: var(--shadow-medium);
}
.button:active, button:active, input[type="submit"]:active, input[type="button"]:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

/* Primary Button Style (enhance Bulma's .is-primary) */
.button.is-primary, button.is-primary { /* Assuming .is-primary is on button/input */
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary);
}
.button.is-primary:hover, button.is-primary:hover {
    background-color: var(--color-primary-darker);
    border-color: var(--color-primary-darker);
}

/* Secondary/Accent Button Style */
.button.is-secondary, button.is-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-dark); /* Good contrast with lime green */
    border-color: var(--color-secondary);
}
.button.is-secondary:hover, button.is-secondary:hover {
    background-color: var(--color-secondary-darker);
    border-color: var(--color-secondary-darker);
}
.button.is-accent, button.is-accent {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    border-color: var(--color-accent);
}
.button.is-accent:hover, button.is-accent:hover {
    background-color: var(--color-accent-darker);
    border-color: var(--color-accent-darker);
}

/* Outlined Button (enhance Bulma's .is-outlined) */
.button.is-outlined {
    background-color: transparent;
    color: var(--color-primary); /* Default outline color matches primary */
    border-color: var(--color-primary);
}
.button.is-outlined:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}
.section-dark-bg .button.is-outlined { /* Outlined button on dark background */
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}
.section-dark-bg .button.is-outlined:hover {
    background-color: var(--color-secondary);
    color: var(--color-text-dark);
}

/* --- CARDS --- */
.card {
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius-large); /* Softer, more futuristic feel */
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: transform var(--transition-morph), box-shadow var(--transition-morph);
    display: flex; /* STRICT */
    flex-direction: column; /* STRICT */
    /* align-items: center; /* STRICT - let's see how this works with width:100% children */
    height: 100%; /* Make cards in a row same height if using columns */
}
.card:hover {
    transform: translateY(-8px) scale(1.02); /* More pronounced hover */
    box-shadow: var(--shadow-strong);
}

.card-image, /* Bulma's direct child */
.card .image-container /* Custom if used */ {
    width: 100%; /* Ensure it spans the card width */
    height: 220px; /* STRICT: Fixed height for image container */
    overflow: hidden; /* To contain the image */
    position: relative; /* For potential overlays */
}
.card-image img,
.card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* STRICT */
    object-position: center; /* Ensure image content is centered */
    display: block; /* Remove any extra space below image */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth zoom on hover */
}
.card:hover .card-image img,
.card:hover .image-container img {
    transform: scale(1.1); /* Subtle zoom on image */
}

.card-content {
    padding: 1.5rem;
    text-align: center; /* STRICT: Center content within */
    width: 100%; /* Ensure it spans card width */
    flex-grow: 1; /* Allow content to grow and push footer down if card height is 100% */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* If there's a button at the bottom */
}
.card-content .title {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}
.card-content .content, .card-content p {
    font-size: 0.9rem;
    color: var(--color-text-medium);
    margin-bottom: 1rem;
    line-height: 1.6;
}
.card-content .button {
    margin-top: auto; /* Push button to bottom if card-content is flex */
    align-self: center; /* Center button */
}

/* Specific card types (e.g., resource cards) */
.resource-card .card-content .title {
    font-size: 1.1rem;
}


/* --- FORMS --- */
.label {
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
    display: block;
}
.input, .textarea {
    font-family: var(--font-secondary);
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--color-border);
    padding: 0.75em 1em;
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
    width: 100%; /* Ensure full width within its container */
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}
.input:focus, .textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.125em rgba(0, 160, 160, 0.25); /* Bulma's focus style with our color */
    outline: none;
}
.input::placeholder, .textarea::placeholder {
    color: #999;
}

/* Futuristic inputs on dark backgrounds */
.section-dark-bg .input, .section-dark-bg .textarea,
.futuristic-input, .futuristic-textarea { /* HTML has these classes on dark bg form */
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--color-text-light) !important;
}
.section-dark-bg .input::placeholder, .section-dark-bg .textarea::placeholder,
.futuristic-input::placeholder, .futuristic-textarea::placeholder {
    color: var(--color-text-grey-light) !important;
}
.section-dark-bg .input:focus, .section-dark-bg .textarea:focus,
.futuristic-input:focus, .futuristic-textarea:focus {
    border-color: var(--color-secondary) !important;
    box-shadow: 0 0 0 0.125em rgba(160, 212, 0, 0.3) !important;
}
.section-dark-bg .label {
    color: var(--color-text-light) !important;
}


/* --- TIMELINE --- */
.timeline {
    position: relative;
    margin-top: 2rem;
}
/* Basic Bulma timeline styling - assuming Bulma's timeline extension classes are used */
.timeline.is-centered::before {
    background-color: var(--color-border);
}
.timeline .timeline-header {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    box-shadow: var(--shadow-soft);
}
.timeline .timeline-item .timeline-marker {
    background-color: var(--color-bg-light);
    border: 3px solid var(--color-primary);
}
.timeline .timeline-item .timeline-marker.is-image {
    padding: 0;
    border: 3px solid var(--color-primary); /* For icon image markers */
}
.timeline .timeline-item .timeline-marker.is-image img {
    border-radius: 50%;
}
.timeline .timeline-item.is-primary .timeline-marker {
    border-color: var(--color-primary);
    background-color: var(--color-primary); /* Fill for primary items */
}
.timeline .timeline-item.is-warning .timeline-marker {
    border-color: var(--color-accent);
    background-color: var(--color-accent);
}
.timeline .timeline-item .timeline-content {
    background-color: var(--color-bg-off-white);
    padding: 1.5rem;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-soft);
    margin-left: 1.5rem; /* Space from timeline line */
}
.timeline .timeline-item .timeline-content .heading {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}
.timeline .timeline-item .timeline-content p:last-child {
    margin-bottom: 0;
}


/* --- FAQ SECTION --- */
.faq-item {
    background-color: var(--color-bg-off-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-medium);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
    transition: box-shadow var(--transition-smooth);
}
.faq-item:hover {
    box-shadow: var(--shadow-medium);
}
.faq-question { /* This is the <summary> element */
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text-dark);
    position: relative;
    list-style: none; /* Remove default marker */
    display: block; /* Ensure it takes full width */
    transition: background-color var(--transition-smooth);
}
.faq-question::-webkit-details-marker { display: none; } /* Hide default arrow */
.faq-question::after { /* Custom arrow */
    content: '\\276F'; /* Heavy right-pointing angle quotation mark ornament */
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 1.2rem;
    color: var(--color-primary);
    transition: transform var(--transition-morph);
}
.faq-item[open] > .faq-question {
    background-color: var(--color-bg-section-accent);
    border-bottom: 1px solid var(--color-border);
}
.faq-item[open] > .faq-question::after {
    transform: translateY(-50%) rotate(90deg);
}
.faq-answer { /* This is the content shown when <details> is open */
    padding: 1.5rem;
    color: var(--color-text-medium);
    font-size: 0.95rem;
}
.faq-answer p:last-child {
    margin-bottom: 0;
}


/* --- MODALS --- */
.modal.is-active {
    display: flex; /* Bulma uses flex */
    align-items: center;
    justify-content: center;
}
.modal-background { /* Overlay */
    background-color: rgba(30, 42, 58, 0.85); /* Darker, less transparent */
}
.modal-card {
    background-color: var(--color-bg-light); /* Or use glassmorphism */
    /* Example Glassmorphism for Modal Card:
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    */
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-strong);
    max-width: 640px; /* Control modal width */
    width: 90%;
    overflow: hidden; /* For border radius on header/footer */
}
.modal-card-head, .modal-card-foot {
    background-color: var(--color-bg-off-white);
    border-color: var(--color-border);
    padding: 1.25rem 1.5rem;
}
.modal-card-head {
    border-top-left-radius: var(--border-radius-large);
    border-top-right-radius: var(--border-radius-large);
}
.modal-card-foot {
    border-bottom-left-radius: var(--border-radius-large);
    border-bottom-right-radius: var(--border-radius-large);
    justify-content: flex-end; /* Align buttons to the right */
}
.modal-card-title {
    color: var(--color-primary);
    font-size: 1.5rem;
}
.modal-card-body {
    padding: 1.5rem;
    color: var(--color-text-medium);
    font-size: 0.95rem;
}
.modal-card-body p, .modal-card-body ul {
    margin-bottom: 1rem;
}
.modal-card-body p:last-child, .modal-card-body ul:last-child {
    margin-bottom: 0;
}
.modal .delete { /* Close button styling */
    background-color: rgba(0,0,0,0.2);
    transition: background-color var(--transition-fast);
}
.modal .delete:hover {
    background-color: rgba(0,0,0,0.4);
}


/* --- FOOTER --- */
.footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-grey-light); /* Lighter grey for footer text */
    padding: 3rem 1.5rem;
    font-size: 0.9rem;
}
.footer .title { /* For column titles in footer */
    color: var(--color-text-light);
    text-shadow: none;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.footer p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}
.footer a {
    color: var(--color-secondary); /* Bright links in dark footer */
    font-weight: 500;
    transition: color var(--transition-fast), text-decoration var(--transition-fast);
}
.footer a:hover {
    color: var(--color-text-light);
    text-decoration: underline;
}
.footer hr {
    background-color: rgba(255,255,255,0.15);
    height: 1px;
    margin: 1.5rem 0;
}
.footer .content.has-text-centered p:last-of-type { /* Copyright line */
    margin-top: 1.5rem;
    font-size: 0.85rem;
}
/* Footer social links (text only) */
.footer .column h4.title + p a, /* Assuming structure from HTML for social links */
.footer .social-links a /* If you add a specific class */ {
    display: inline-block; /* Or block for more spacing */
    margin: 0 0.5rem 0.5rem 0; /* Spacing for links */
    padding: 0.25rem 0;
    font-weight: 600; /* Make them stand out a bit */
}


/* --- PAGE-SPECIFIC STYLES --- */

/* privacy.html & terms.html page content */
.page-content {
    padding-top: var(--page-content-padding-top); /* Avoid header overlap */
    padding-bottom: 3rem;
}
.page-content h1.title {
    margin-bottom: 2rem;
    text-align: center;
}
.page-content h2.title { margin-top: 2.5rem; color: var(--color-primary); font-size: 1.6rem; }
.page-content h3.title { margin-top: 2rem; color: var(--color-text-dark); font-size: 1.3rem; }
.page-content p, .page-content ul {
    color: var(--color-text-medium);
    font-size: 0.95rem;
}
.page-content ul {
    list-style: disc;
    margin-left: 1.5em;
    padding-left: 0.5em;
}
.page-content strong {
    color: var(--color-text-dark);
}
.page-banner img {
    border-radius: var(--border-radius-medium);
    object-fit: cover;
    box-shadow: var(--shadow-medium);
    margin-bottom: 2rem; /* If banner is above title */
}

/* success.html centering */
.hero.is-success.has-text-centered { /* Targeting the specific success page hero */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero.is-success .hero-body {
    width: 100%;
    max-width: 700px; /* Keep content from being too wide */
}
.hero.is-success .title.is-1 {
    color: var(--color-text-light); /* Assuming .is-success makes bg green */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.hero.is-success .subtitle.is-4,
.hero.is-success p {
    color: rgba(255,255,255,0.9); /* Lighter text for readability on success bg */
}
.hero.is-success figure.image { margin-bottom: 2rem; }

/* Contact Page Specific (if needed beyond section-dark-bg) */
#contact-page .contact-info {
    margin-top: 3rem;
    font-size: 0.95rem;
}
#contact-page .contact-info p {
    margin-bottom: 0.5rem;
}
#contact-page .contact-info strong {
    color: var(--color-text-light);
}

/* Utility for styled lists on dark backgrounds */
.section-dark-bg ul.styled-list {
    list-style: none;
    padding-left: 0;
}
.section-dark-bg ul.styled-list li {
    color: var(--color-text-grey-light);
    margin-bottom: 0.75rem;
    padding-left: 1.75em;
    position: relative;
    font-size: 0.95rem;
}
.section-dark-bg ul.styled-list li::before {
    content: '✧'; /* Sparkle or other futuristic icon */
    color: var(--color-secondary); /* Bright accent for marker */
    position: absolute;
    left: 0;
    top: 1px; /* Adjust vertical alignment */
    font-weight: bold;
    font-size: 1.1em;
}

/* Image Centering Utility */
.image-centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-medium);
}


/* --- RESPONSIVE ADJUSTMENTS --- */
@media screen and (max-width: 1023px) { /* Bulma's tablet breakpoint */
    .navbar-menu {
        background-color: var(--color-bg-light); /* Solid background for mobile menu */
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium);
        padding: 0.5rem 0;
    }
    .navbar-item, .navbar-link {
        padding: 0.75rem 1.5rem; /* More padding for touch */
        border-bottom: 1px solid var(--color-border);
    }
    .navbar-item:last-child, .navbar-link:last-child {
        border-bottom: none;
    }
    .columns.is-multiline .column { /* Ensure columns stack nicely */
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 768px) { /* Bulma's mobile breakpoint */
    .title.is-1 { font-size: 2.2rem; }
    .title.is-2 { font-size: 1.8rem; }
    .hero-title { font-size: clamp(2rem, 6vw, 2.8rem); }
    .hero-subtitle { font-size: clamp(1rem, 4vw, 1.3rem); }

    .columns { /* Stack columns by default on mobile unless .is-mobile is used */
        display: block;
    }
    .column {
        width: 100% !important; /* Override Bulma's column widths */
        margin-bottom: 2rem; /* Space between stacked columns */
    }
    .column:last-child {
        margin-bottom: 0;
    }
    /* If using Bulma's grid for cards, they'll stack nicely. If custom, ensure stacking. */
    .card {
        margin-bottom: 1.5rem; /* Space between stacked cards */
    }
}

/* Cookie Consent (Copied from HTML, enhanced) */
#cookie-consent-popup {
    font-family: var(--font-secondary);
    background-color: var(--color-bg-dark-transparent) !important; /* Darker, more contrast */
    color: var(--color-text-light) !important;
    padding: 1rem 1.5rem !important; /* More padding */
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
    align-items: center;
    display: flex; /* For better alignment */
    justify-content: space-between; /* Space out text and button */
    gap: 1rem;
}
#cookie-consent-popup p {
    margin: 0 !important;
    font-size: 0.875rem !important; /* Slightly smaller */
    flex-grow: 1;
    text-align: left;
}
#cookie-consent-popup button#accept-cookie {
    background-color: var(--color-primary) !important;
    color: var(--color-text-light) !important;
    border: none !important;
    padding: 0.6em 1.2em !important;
    border-radius: var(--border-radius-pill) !important; /* Pill shape */
    font-size: 0.875rem !important;
    font-weight: bold !important;
    white-space: nowrap; /* Prevent button text wrapping */
    transition: background-color var(--transition-smooth), transform var(--transition-fast);
}
#cookie-consent-popup button#accept-cookie:hover {
    background-color: var(--color-primary-darker) !important;
    transform: scale(1.05);
}

@media (max-width: 600px) {
    #cookie-consent-popup {
        flex-direction: column;
        text-align: center;
    }
    #cookie-consent-popup p {
        text-align: center;
        margin-bottom: 0.75rem !important;
    }
}