:root {
    /* Color Scheme: Pastel */
    --color-primary: #E83E8C; /* Pastel Pink/Magenta - Main CTA */
    --color-primary-darker: #d1307b; /* Darker shade of primary for hover */
    --color-secondary: #79D7C3; /* Soft Teal/Mint - Accent */
    --color-secondary-light: rgba(121, 215, 195, 0.15); /* Lighter for backgrounds */
    --color-background-main: #f0f2f5; /* Light Grayish Blue - Main page background */
    --color-background-pastel-hero: #faf7f0; /* Very Light Cream for hero on subpages */
    --color-background-glass-light: rgba(255, 255, 255, 0.6);
    --color-background-glass-lighter: rgba(255, 255, 255, 0.85);
    --color-background-glass-dark: rgba(44, 62, 80, 0.8);
    --color-background-input: rgba(255, 255, 255, 0.8);

    --color-text-dark: #333333; /* Main body text */
    --color-text-darker: #222222; /* Headings, strong emphasis */
    --color-text-light: #FFFFFF; /* Text on dark backgrounds / hero */
    --color-text-placeholder: #777777;
    --color-text-footer: #f0f2f5;
    --color-text-footer-link: #b0c4de;
    --color-text-footer-link-hover: #FFFFFF;

    --color-success: #48C774;
    --color-success-darker: #3aad67;
    --color-success-background: #e6ffed;
    --color-success-text: #257942;

    --color-border-glass: rgba(255, 255, 255, 0.18);
    --color-border-glass-input: rgba(0, 0, 0, 0.1);

    /* Gradients */
    --gradient-hero-overlay: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
    --gradient-image-text-protection: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    --gradient-pastel-subtle-bg: linear-gradient(135deg, #fdeff4, #e6f7f4);

    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Nunito', sans-serif;

    /* Sizing & Spacing */
    --navbar-height: 52px; /* Bulma default */
    --section-padding-vertical: 3rem; /* Adjusted for less empty space */
    --section-padding-vertical-large: 4rem;
    --card-border-radius: 15px;
    --button-border-radius: 25px; /* More rounded for biomorphic touch */
    --biomorphic-border-radius-soft: 30% 70% 70% 30% / 30% 30% 70% 70%;
    --biomorphic-border-radius-icon: 50% 50% 30% 70% / 40% 60% 40% 60%;

    /* Shadows */
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.12);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --shadow-text-hero: 1px 1px 3px rgba(0,0,0,0.6);
    --shadow-text-title: 1px 1px 2px rgba(0,0,0,0.2);

    /* Transitions & Animations */
    --transition-fast: all 0.2s ease-out;
    --transition-smooth: all 0.3s ease;
    --transition-animation: opacity 0.6s ease-out, transform 0.6s ease-out;

    /* Glassmorphism */
    --blur-intensity: 10px;
    --blur-intensity-light: 8px;
    --blur-intensity-strong: 15px;
}

/* Global Styles & Resets */
body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-background-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-oswald {
    font-family: var(--font-heading);
    color: var(--color-text-darker);
    font-weight: 500; /* Adjusted for Oswald */
}

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

.page-content { /* For subpages like privacy, terms */
    padding-top: calc(var(--navbar-height) + 30px); /* Space for fixed navbar */
}
.page-content.privacy-terms-page { /* Specific for privacy & terms */
    padding-top: 100px;
}

/* Utility Classes */
.centered-text { text-align: center; }
.full-height-vh { min-height: 100vh; }


/* Header & Navigation */
.header-main.is-fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--color-background-glass-light);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
    border-bottom: 1px solid var(--color-border-glass);
    box-shadow: var(--shadow-soft);
}
.navbar-item.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary) !important;
}
.navbar-item, .navbar-link {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-text-darker);
    transition: var(--transition-fast);
}
.navbar-item:hover, .navbar-link:hover,
.navbar-item.is-active {
    background-color: transparent !important; /* Override Bulma */
    color: var(--color-primary) !important;
}
.navbar-burger span {
    background-color: var(--color-text-darker);
    height: 2px;
}
.navbar-menu.is-active {
    background: var(--color-background-glass-light);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: rgba(255,255,255,0.9);
        backdrop-filter: blur(var(--blur-intensity));
        -webkit-backdrop-filter: blur(var(--blur-intensity));
    }
}


/* Global Button Styles */
.button, button, input[type="submit"], input[type="button"] {
    font-family: var(--font-body);
    font-weight: 700;
    border-radius: var(--button-border-radius);
    padding: 0.75em 1.75em;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.button:active, button:active, input[type="submit"]:active, input[type="button"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.button.is-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}
.button.is-primary:hover {
    background-color: var(--color-primary-darker);
    color: var(--color-text-light);
}
.button.is-primary.is-outlined {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.button.is-primary.is-outlined:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}
.button.is-link.is-light {
    background-color: var(--color-secondary-light);
    color: var(--color-secondary);
}
.button.is-link.is-light:hover {
    background-color: rgba(121, 215, 195, 0.25);
    color: var(--color-secondary);
}
/* Read More Link Style */
.read-more-link {
    display: inline-block;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: var(--transition-smooth);
}
.read-more-link:hover {
    color: var(--color-primary-darker);
    border-bottom-color: var(--color-primary-darker);
}


/* Hero Section */
#hero.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: var(--color-text-light); /* Default text color for hero */
}
#hero .hero-body .container .title,
#hero .hero-body .container .subtitle,
#hero .hero-body .container p {
    color: var(--color-text-light) !important; /* Ensure white text */
    text-shadow: var(--shadow-text-hero);
}
#hero .hero-body .container .title {
    font-size: 3.5rem; /* Larger hero title */
    font-weight: 700;
}
#hero .hero-body .container .subtitle {
    font-size: 1.5rem;
    font-weight: 400;
}
/* Biomorphic shape at the bottom of hero */
.biomorphic-divider.bottom::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -25%; /* Adjusted for a wider curve */
    width: 150%;
    height: 100px;
    background-color: var(--color-background-main);
    border-radius: 100% 100% 0 0 / 50% 50% 0 0;
    z-index: 1; /* Ensure it's above hero bg but below content */
}
#hero .hero-body {
    position: relative;
    z-index: 2; /* Content above divider */
}

/* Glassmorphism & Card Styles */
.glassmorphic-section {
    background: var(--color-background-glass-light);
    backdrop-filter: blur(var(--blur-intensity-strong));
    -webkit-backdrop-filter: blur(var(--blur-intensity-strong));
    border: 1px solid var(--color-border-glass);
    border-radius: var(--card-border-radius);
    padding: var(--section-padding-vertical) var(--section-padding-horizontal);
    margin-bottom: var(--section-padding-vertical);
    box-shadow: var(--shadow-glass);
}
.card.glassmorphic-card, .glassmorphic-card { /* General glassmorphic card style */
    background: var(--color-background-glass-lighter); /* Slightly more opaque for content */
    backdrop-filter: blur(var(--blur-intensity-strong));
    -webkit-backdrop-filter: blur(var(--blur-intensity-strong));
    border-radius: var(--card-border-radius);
    border: 1px solid var(--color-border-glass);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    height: 100%;
    /* Card specific flex for content arrangement */
    display: flex;
    flex-direction: column;
    /* align-items: center; /* Centers the .card-image and .card-content blocks if they are not full width */
    text-align: center; /* Centers text and inline-block images if not full width */
}
.card.glassmorphic-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-medium);
}
.card .card-image { /* Bulma's .card-image is often a figure */
    height: 220px; /* Fixed height for image container */
    width: 100%; /* Ensure it takes full width of card */
    overflow: hidden;
    position: relative;
    border-top-left-radius: var(--card-border-radius);
    border-top-right-radius: var(--card-border-radius);
    /* display: flex; Centers image if it's smaller, though object-fit: cover handles it */
    justify-content: center;
    align-items: center;
}
.card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Removes extra space */
    border-top-left-radius: var(--card-border-radius); /* If image is direct child and not wrapped */
    border-top-right-radius: var(--card-border-radius);
}
.card .card-content {
    padding: 1.5rem;
    color: var(--color-text-dark);
    flex-grow: 1; /* Allows content to fill space */
    text-align: center; /* Center text within content area */
}
.card .card-content .title {
    color: var(--color-text-darker);
    margin-bottom: 0.75rem;
}
.card .card-content .button {
    margin-top: auto; /* Pushes button to bottom if card content has variable height */
}

/* Image overlay for text protection */
.image-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1rem 1rem;
    background: var(--gradient-image-text-protection);
    border-bottom-left-radius: var(--card-border-radius); /* if card-image is not the top one */
    border-bottom-right-radius: var(--card-border-radius);
}
.image-overlay-text .title {
    color: var(--color-text-light) !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin-bottom: 0.25rem !important;
}

/* Biomorphic Elements */
.biomorphic-image-border {
    border-radius: var(--biomorphic-border-radius-soft);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    display: block; /* For margin auto to work */
    margin-left: auto;
    margin-right: auto;
}
.biomorphic-icon-bg {
    background-color: var(--color-secondary-light);
    border-radius: var(--biomorphic-border-radius-icon);
    padding: 20px;
    margin-bottom: 1rem;
    display: inline-flex; /* Use flex to center icon inside */
    align-items: center;
    justify-content: center;
    width: 96px; /* Match HTML width */
    height: 96px; /* Match HTML height */
}
.biomorphic-icon-bg img {
    max-width: 60%; /* Adjust icon size within bg */
    max-height: 60%;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1));
}

/* Section Titles */
.section-title {
    color: var(--color-text-darker) !important;
    margin-bottom: 1.5rem !important;
    text-align: center;
    position: relative;
    padding-bottom: 0.75rem;
    font-weight: 700; /* Bolder Oswald */
    text-shadow: var(--shadow-text-title);
}
.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background-color: var(--color-primary);
    margin: 0.75rem auto 0;
    border-radius: 5px 20px 5px 20px / 50% 50% 50% 50%; /* Biomorphic underline */
}
.section-title-dark { /* For use on light pastel hero backgrounds (e.g., about page) */
    color: var(--color-text-darker) !important;
    text-shadow: none;
}
.section-title-dark::after {
    background-color: var(--color-text-darker);
}


/* Forms (Glassmorphic) */
.glassmorphic-form .label {
    color: var(--color-text-dark);
    font-weight: 600;
}
.glassmorphic-form .input,
.glassmorphic-form .textarea {
    background-color: var(--color-background-input);
    border: 1px solid var(--color-border-glass-input);
    border-radius: 10px; /* Softer radius */
    color: var(--color-text-dark);
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.06);
    padding: 0.75em 1em;
    transition: var(--transition-smooth);
}
.glassmorphic-form .input::placeholder,
.glassmorphic-form .textarea::placeholder {
    color: var(--color-text-placeholder);
}
.glassmorphic-form .input:focus,
.glassmorphic-form .textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.125em rgba(var(--color-primary), 0.25), inset 0 1px 4px rgba(0,0,0,0.06);
}
.glassmorphic-form .control.has-icons-left .icon {
    height: 2.75em; /* Match input padding */
    width: 2.75em;
    color: var(--color-text-placeholder);
}

/* FAQ Details/Accordion */
.glassmorphic-details {
    background: var(--color-background-glass-lighter);
    backdrop-filter: blur(var(--blur-intensity-light));
    -webkit-backdrop-filter: blur(var(--blur-intensity-light));
    border-radius: var(--card-border-radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border-glass);
    box-shadow: var(--shadow-soft);
}
.glassmorphic-details summary {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--color-primary);
    list-style-position: inside; /* For better marker alignment */
}
.glassmorphic-details summary::marker {
    color: var(--color-primary);
}
.glassmorphic-details[open] summary {
    margin-bottom: 0.75rem;
}
.glassmorphic-details p {
    color: var(--color-text-dark);
    padding-left: 10px; /* Indent content */
}

/* Footer */
.footer.glassmorphic-footer {
    background: var(--color-background-glass-dark);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
    color: var(--color-text-footer);
    padding: var(--section-padding-vertical-large) var(--section-padding-horizontal) var(--section-padding-vertical);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer.glassmorphic-footer .title { /* Footer titles */
    color: var(--color-text-light) !important;
    font-weight: 500;
}
.footer.glassmorphic-footer a {
    color: var(--color-text-footer-link);
}
.footer.glassmorphic-footer a:hover {
    color: var(--color-text-footer-link-hover);
    text-decoration: underline;
}
.footer.glassmorphic-footer hr {
    background-color: rgba(255,255,255,0.1) !important;
}
.footer.glassmorphic-footer .content p {
    color: var(--color-text-footer);
}
/* Footer social links (text-based) */
.footer.glassmorphic-footer ul li a[target="_blank"] { /* Basic styling for social links */
    padding: 0.25em 0;
    display: inline-block; /* Allows padding */
}


/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition: var(--transition-animation);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
[data-animation="fade-in"] { opacity: 0; transition-property: opacity; }
[data-animation="fade-in-down"] { opacity: 0; transform: translateY(-30px); transition-property: opacity, transform; }
[data-animation="fade-in-up"] { opacity: 0; transform: translateY(30px); transition-property: opacity, transform; }
[data-animation="slide-in-left"] { opacity: 0; transform: translateX(-50px); transition-property: opacity, transform; }
[data-animation="slide-in-right"] { opacity: 0; transform: translateX(50px); transition-property: opacity, transform; }
[data-animation="zoom-in"] { opacity: 0; transform: scale(0.9); transition-property: opacity, transform; }
[data-animation="pop-in"] { opacity: 0; transform: scale(0.5); transition-property: opacity, transform; }

.is-visible[data-animation="fade-in"] { opacity: 1; }
.is-visible[data-animation="fade-in-down"] { opacity: 1; transform: translateY(0); }
.is-visible[data-animation="fade-in-up"] { opacity: 1; transform: translateY(0); }
.is-visible[data-animation="slide-in-left"] { opacity: 1; transform: translateX(0); }
.is-visible[data-animation="slide-in-right"] { opacity: 1; transform: translateX(0); }
.is-visible[data-animation="zoom-in"] { opacity: 1; transform: scale(1); }
.is-visible[data-animation="pop-in"] { opacity: 1; transform: scale(1); }


/* Success Page Specifics */
body[data-barba-namespace="success"] main, /* Assuming barba namespace is set */
.success-page-container { /* Fallback class if barba is not used or for direct styling */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--navbar-height); /* Account for navbar if it's there */
    background-color: var(--color-success-background);
}
.success-page-container .hero.is-large.is-success-light { /* If using a hero section */
    width: 100%; /* Ensure hero takes up space */
    background-color: transparent; /* Override its own bg if parent is handling it */
}
.success-page-container .hero-body {
    width: 100%;
    max-width: 700px; /* Limit content width */
}
.glassmorphic-card-light-content { /* Used on success page */
    background: var(--color-background-glass-lighter);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
    border-radius: var(--card-border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
}
.success-page-container .title,
.success-page-container .subtitle,
.success-page-container p {
    color: var(--color-success-text) !important;
}
.success-page-container .button.is-primary {
    background-color: var(--color-success);
    color: var(--color-text-light);
}
.success-page-container .button.is-primary:hover {
    background-color: var(--color-success-darker);
}

/* Background Image Handling */
[style*="background-image"] {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}
/* Generic dark overlay for sections with background images and text over them */
.section-bg-image-overlay {
    position: relative;
}
.section-bg-image-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero-overlay); /* Reusing hero overlay */
    z-index: 1;
}
.section-bg-image-overlay > .container { /* Ensure content is above overlay */
    position: relative;
    z-index: 2;
}
.section-bg-image-overlay .title,
.section-bg-image-overlay .subtitle,
.section-bg-image-overlay p,
.section-bg-image-overlay .label {
    color: var(--color-text-light) !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}


/* Parallax (Simple CSS version - true parallax usually needs JS) */
.parallax-background {
    background-attachment: fixed;
    /* Ensure other background properties like size, position, repeat are set */
}


/* Responsive adjustments */
@media screen and (max-width: 1023px) { /* Bulma's $desktop breakpoint */
    .section-title::after {
        width: 80px;
        height: 4px;
    }
     #hero .hero-body .container .title {
        font-size: 2.8rem;
    }
    #hero .hero-body .container .subtitle {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 768px) { /* Bulma's $tablet breakpoint */
    .section {
        padding: var(--section-padding-vertical) 1rem;
    }
    .page-content {
        padding-top: var(--navbar-height);
    }
    .page-content.privacy-terms-page {
        padding-top: calc(var(--navbar-height) + 20px);
    }
     #hero .hero-body .container .title {
        font-size: 2.2rem;
    }
    #hero .hero-body .container .subtitle {
        font-size: 1.1rem;
    }
    .footer.glassmorphic-footer .columns {
        text-align: center;
    }
    .footer.glassmorphic-footer .column:not(:last-child) {
        margin-bottom: 1.5rem;
    }
    .card .card-image {
        height: 180px; /* Adjust card image height for smaller screens */
    }
}

/* Barba.js transitions */
[data-barba="wrapper"] {
  position: relative;
}
.barba-leave-active,
.barba-enter-active {
  transition: opacity 0.5s ease-in-out;
  will-change: opacity;
}
.barba-leave-to,
.barba-enter-from {
  opacity: 0;
  position: absolute; /* Avoid content jump */
  top:0;
  left:0;
  width:100%;
}
.barba-enter-to {
  opacity: 1;
}

/* Cookie Consent Popup */
#cookie-consent-popup p {
    font-family: var(--font-body);
    color: var(--color-text-light); /* Assuming dark background for popup */
}
#cookie-consent-popup button {
    font-family: var(--font-body);
    background-color: var(--color-success); /* Match accept button style */
}