/* style.css */

/* --- Base Styles & Variables --- */
:root {
    /* Fonts */
    --font-primary: 'Source Sans Pro', sans-serif;
    --font-headings: 'Playfair Display', serif;

    /* Split-Complementary Colors */
    --color-base: #0D808D; /* Teal/Blue-Green */
    --color-complement-1: #D98E3A; /* Orange */
    --color-complement-2: #D93A4A; /* Red */
    --color-primary: var(--color-base);
    --color-accent: var(--color-complement-1);
    --color-accent-secondary: var(--color-complement-2);

    /* Neutrals */
    --color-text-dark: #222222;
    --color-text-medium: #555555;
    --color-text-light: #f8f8f8;
    --color-background-light: #ffffff;
    --color-background-medium: #f0f2f5; /* Light grey for sections */
    --color-background-dark: #1a1a1a;
    --color-border: #dddddd;

    /* Derived Colors */
    --color-primary-darker: #095a63;
    --color-accent-darker: #b87831;
    --color-link: var(--color-primary);
    --color-link-hover: var(--color-primary-darker);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    --gradient-overlay-dark: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    --gradient-overlay-hero: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)); /* Darker for hero */

    /* UI Elements */
    --border-radius: 8px;
    --border-radius-large: 12px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.15);
    --box-shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    --transition-speed: 0.3s;
    --transition-bezier: ease-in-out;

    /* Spacing */
    --spacing-unit: 1rem; /* 16px */
    --section-padding: 5rem 1.5rem; /* Adjusted padding */
    --card-padding: 1.5rem;

    /* Header */
    --header-height: 80px;
    --header-background: rgba(26, 26, 26, 0.9); /* Dark semi-transparent */
    --header-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 100%; /* Typically 16px */
    line-height: 1.6;
    background-color: var(--color-background-light);
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-medium);
    background-color: var(--color-background-light);
    overflow-x: hidden; /* Prevent horizontal scroll */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.title, .subtitle {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem; /* Default margin */
    line-height: 1.2;
}

/* Bulma Title/Subtitle Overrides */
.title {
    color: var(--color-text-dark);
    font-family: var(--font-headings);
}
.subtitle {
    color: var(--color-text-medium);
    font-family: var(--font-primary);
}

.title.is-1 { font-size: 3rem; }
.title.is-2 { font-size: 2.5rem; }
.title.is-3 { font-size: 2rem; }
.title.is-4 { font-size: 1.5rem; }
.title.is-5 { font-size: 1.25rem; }
.title.is-6 { font-size: 1rem; }

@media screen and (max-width: 768px) {
    .title.is-1 { font-size: 2.5rem; }
    .title.is-2 { font-size: 2rem; }
    .title.is-3 { font-size: 1.75rem; }
    .title.is-4 { font-size: 1.25rem; }
}


p {
    margin-bottom: 1.25rem;
    font-size: 1rem; /* Ensure base font size */
    color: var(--color-text-medium);
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-bezier);
}

a:hover {
    color: var(--color-link-hover);
    text-decoration: underline;
}

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

/* --- Layout & Sections --- */
.container {
    max-width: 1140px; /* Standard container width */
    margin: 0 auto;
    padding: 0 1rem; /* Padding for smaller screens */
}

.section {
    padding: var(--section-padding);
    position: relative; /* For absolute positioning inside */
}

.section.has-background-light {
    background-color: var(--color-background-medium);
}

.section-title {
    margin-bottom: 3rem; /* More space below section titles */
    position: relative;
    display: inline-block; /* To center using text-align on parent */
    padding-bottom: 0.5rem;
    color: var(--color-text-dark); /* Ensure high contrast */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Subtle shadow */
}

.section-title::after { /* Optional underline effect */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Responsive Columns */
.columns {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    margin-top: -0.75rem;
}
.columns:not(:last-child) {
    margin-bottom: 1.5rem; /* Default Bulma is 0.75rem */
}
.column {
    padding: 0.75rem;
    display: block; /* Default for columns */
}

/* Ensure minimum width for specific columns */
.column.is-two-thirds {
    flex: none; /* Override Bulma */
    width: 100%;
}
@media screen and (max-width: 768px) {
    .column.is-two-thirds {
        width: 100%; /* Stack on mobile */
    }
}

/* --- Header & Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--header-background);
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--header-shadow);
    transition: background-color var(--transition-speed) var(--transition-bezier);
}

.navbar {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 1rem; /* Padding inside navbar */
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-light); /* Light text for dark header */
    padding: 0.5rem 0;
}
.logo-text:hover {
    color: var(--color-accent); /* Hover effect */
    text-decoration: none;
}

.navbar-burger {
    color: var(--color-text-light);
    height: var(--header-height);
    width: var(--header-height);
    margin-left: auto; /* Push to the right */
    display: none; /* Hidden by default, shown by Bulma JS */
    border: none;
    background: none;
    cursor: pointer;
}

.navbar-burger span {
    background-color: var(--color-text-light);
    display: block;
    height: 2px;
    width: 20px;
    margin: 4px auto;
    transition: transform var(--transition-speed) var(--transition-bezier), opacity var(--transition-speed) var(--transition-bezier);
    position: relative;
}

.navbar-burger.is-active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.navbar-burger.is-active span:nth-child(2) {
    opacity: 0;
}
.navbar-burger.is-active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.navbar-menu {
    display: flex;
    flex-grow: 1;
    align-items: center;
}

.navbar-start {
    margin-left: auto; /* Push links to the right */
    display: flex;
}

.navbar-item {
    color: var(--color-text-light);
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    position: relative;
    transition: color var(--transition-speed) var(--transition-bezier);
}

.navbar-item::after {
    content: '';
    position: absolute;
    bottom: 5px; /* Position the underline */
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background-color: var(--color-accent);
    transition: transform var(--transition-speed) var(--transition-bezier);
    transform-origin: center;
}

.navbar-item:hover,
.navbar-item.is-active /* Add is-active class via JS if needed */ {
    color: var(--color-accent);
    background-color: transparent; /* Ensure no background on hover */
    text-decoration: none;
}

.navbar-item:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Mobile Navigation */
@media screen and (max-width: 1023px) {
    .navbar-burger {
        display: flex;
        flex-direction: column;
        gap: 0px;
        justify-content: center;
    }
    .navbar-menu {
        display: none; /* Hidden by default */
        position: absolute;
        left: 0;
        top: var(--header-height);
        width: 100%;
        background-color: var(--header-background);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        padding: 1rem 0;
        flex-direction: column;
        text-align: center;
    }
    .navbar-menu.is-active {
        display: flex; /* Shown by JS */
    }
    .navbar-start {
        margin-left: 0;
        flex-direction: column;
    }
    .navbar-item {
        padding: 0.75rem 1rem;
        width: 100%;
        justify-content: center;
    }
    .navbar-item::after {
        bottom: 2px;
    }
}


/* --- Hero Section --- */
#hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    color: var(--color-text-light); /* Ensure white text */
    min-height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay-hero); /* Darker overlay */
    z-index: 1;
}

.hero-body {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem; /* Larger title */
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-light); /* Force white */
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5); /* Text shadow for readability */
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-light); /* Force white */
    opacity: 0.9;
}

@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* --- Buttons (Global) --- */
.button, button, input[type="submit"], input[type="button"] {
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all var(--transition-speed) var(--transition-bezier);
    border: none;
    display: inline-flex; /* Align icon and text */
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* Space between text and icon */
    white-space: nowrap; /* Prevent wrapping */
}

.button.is-primary {
    background: var(--gradient-primary);
    color: var(--color-text-light);
    box-shadow: 0 4px 10px rgba(var(--color-primary-rgb, 13, 128, 141), 0.3); /* Use RGB or fallback */
}

.button.is-primary:hover {
    background: var(--gradient-primary); /* Keep gradient */
    filter: brightness(1.1); /* Slightly brighter */
    box-shadow: 0 6px 15px rgba(var(--color-primary-rgb, 13, 128, 141), 0.4);
    transform: translateY(-2px);
    color: var(--color-text-light); /* Keep text color */
}

.button.is-link {
    background-color: transparent;
    color: var(--color-link);
    text-decoration: none;
    border: 1px solid var(--color-link);
}

.button.is-link:hover {
    background-color: var(--color-link);
    color: var(--color-text-light);
    border-color: var(--color-link);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

/* Futuristic Button Styles */
.futuristic-button {
    border-radius: 50px; /* Pill shape */
    padding: 0.8rem 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}
.futuristic-button::before { /* Background glow/hover effect */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--color-accent), var(--color-accent-secondary));
    opacity: 0;
    transition: opacity var(--transition-speed) var(--transition-bezier);
    z-index: -1;
}
.futuristic-button:hover::before {
    opacity: 1;
}
.futuristic-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.futuristic-button .icon-arrow {
    transition: transform var(--transition-speed) var(--transition-bezier);
    margin-left: 0.5em;
    display: inline-block;
}
.futuristic-button:hover .icon-arrow {
    transform: translateX(5px);
}


.futuristic-button-secondary {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background-color: transparent;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
}
.futuristic-button-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(var(--color-primary-rgb, 13, 128, 141), 0.2);
}

/* --- Forms (Global) --- */
.field:not(:last-child) {
    margin-bottom: 1.5rem; /* More space between fields */
}

.label, .futuristic-label {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem; /* More space below label */
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input, .textarea, .futuristic-input, .futuristic-textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--color-text-medium);
    background-color: var(--color-background-light);
    transition: border-color var(--transition-speed) var(--transition-bezier), box-shadow var(--transition-speed) var(--transition-bezier);
    box-shadow: var(--box-shadow-inset);
}

.input:focus, .textarea:focus,
.futuristic-input:focus, .futuristic-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb, 13, 128, 141), 0.2); /* Focus ring */
}

.textarea, .futuristic-textarea {
    resize: vertical; /* Allow vertical resize only */
    min-height: 120px;
}

/* --- Cards (Global) --- */
.card {
    background-color: var(--color-background-light);
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow);
    overflow: hidden; /* Ensure content stays within rounded corners */
    transition: transform var(--transition-speed) var(--transition-bezier), box-shadow var(--transition-speed) var(--transition-bezier);
    height: 100%; /* Make cards in a row equal height */
    display: flex;
    flex-direction: column; /* Stack image and content vertically */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.card-image, .image-container {
    position: relative;
    overflow: hidden;
    display: block; /* Ensure it takes block space */
    margin: 0 auto; /* Center the container */
    text-align: center; /* Center inline-block image */
    width: 100%; /* Take full width of card */
}

/* Specific fixed height for feature cards, adjust as needed for others */
.feature-card .card-image {
     height: 250px; /* Fixed height for feature images */
}
.event-card .card-image {
     height: 250px; /* Fixed height for event images */
}
.team-card .card-image {
    height: 300px; /* Fixed height for team portraits */
    width: 100%; /* Ensure it spans */
}

.card-image img {
    width: 100%;
    height: 100%; /* Fill the container */
    object-fit: cover; /* Crop image to fit */
    display: block; /* Remove extra space below image */
    transition: transform var(--transition-speed) var(--transition-bezier);
}

.card:hover .card-image img {
    transform: scale(1.05); /* Subtle zoom on hover */
}

.card-content {
    padding: var(--card-padding);
    flex-grow: 1; /* Allow content to take remaining space */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically if needed */
    text-align: center; /* Center text content */
}
.card-content .title,
.card-content .subtitle {
    margin-bottom: 0.75rem;
}
.card-content .title.is-4 {
    margin-bottom: 0.5rem; /* Smaller margin for smaller titles */
}
.card-content p:last-child {
    margin-bottom: 0; /* Remove margin from last paragraph */
}

/* --- Section Specific Styles --- */

/* Features Section */
.features-section .card {
    text-align: center;
}

/* Statistics Section */
.statistics-section {
    background: var(--gradient-primary); /* Use gradient background */
    color: var(--color-text-light);
}
.statistics-section .section-title,
.statistics-section .statistic-label,
.statistics-section .statistics-description {
    color: var(--color-text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.statistic-widget {
    padding: 1.5rem;
    text-align: center;
}
.statistic-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}
.statistic-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.statistics-description {
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Innovation Section */
.innovation-section .card {
    background-color: var(--color-background-medium); /* Slightly different background */
    box-shadow: none; /* Flat design */
    border-left: 4px solid var(--color-primary); /* Accent line */
    border-radius: 0 var(--border-radius-large) var(--border-radius-large) 0;
    margin-bottom: 1.5rem;
}
.innovation-section .media {
    align-items: center; /* Vertically align image and text */
}
.innovation-section .media-left {
    margin-right: 1.5rem;
}
.innovation-section .media-left .image img {
    border-radius: 50%; /* Circular images */
    border: 3px solid var(--color-background-light);
    box-shadow: var(--box-shadow);
    width: 128px; /* Ensure size */
    height: 128px;
    object-fit: cover;
}
.innovation-section .media-content {
    text-align: left;
}
.innovation-intro, .events-intro, .team-intro, .resources-intro, .contact-intro {
    max-width: 700px;
    margin: 0 auto 3rem auto; /* Center and add margin below */
    color: var(--color-text-medium);
    font-size: 1.1rem;
}

/* Events Section */
.event-card .event-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}
.event-card .button {
    margin-top: 1rem;
}

/* Team Section */
.team-card .card-image {
    padding: 1rem 1rem 0 1rem; /* Add padding around image */
    background-color: var(--color-background-medium); /* Contrasting background */
}
.team-card .card-image img {
    border-radius: 50%; /* Circular portraits */
    border: 4px solid var(--color-background-light);
    box-shadow: var(--box-shadow);
}
.team-card .card-content {
    padding-top: 1rem;
}
.team-card .subtitle {
    color: var(--color-primary);
}

/* Community Section */
.community-section .image-container img {
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow);
}
.community-content {
    padding-left: 3rem; /* Space next to image */
}
@media screen and (max-width: 768px) {
    .community-content {
        padding-left: 0; /* Remove padding on mobile */
        margin-top: 2rem;
        text-align: center;
    }
}
.testimonial-carousel {
    /* Add styles if implementing a JS carousel */
    margin-top: 3rem;
    font-style: italic;
    color: var(--color-text-medium);
}
.testimonial-carousel h3 {
     margin-bottom: 1.5rem;
}
.testimonial-carousel p {
    margin-bottom: 0.5rem;
}

/* External Resources Section */
.resource-card {
    margin-bottom: 1rem;
    background-color: var(--color-background-light);
    border-left: 4px solid var(--color-accent-secondary); /* Different accent color */
    padding: 1.5rem;
}
.resource-card:hover {
    transform: translateX(5px);
}
.resource-card h3 a {
    color: var(--color-primary);
    font-family: var(--font-headings);
}
.resource-card h3 a:hover {
    color: var(--color-primary-darker);
}
.resource-card p {
    font-size: 0.95rem;
    color: var(--color-text-medium);
    margin-bottom: 0;
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1rem;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    overflow: hidden;
    padding: 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-primary);
    color: var(--color-text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-speed) var(--transition-bezier);
}
.faq-question:hover {
    color: var(--color-primary);
}
.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
    transition: transform var(--transition-speed) var(--transition-bezier);
}
.faq-item.is-open .faq-icon {
     transform: rotate(45deg); /* Rotate '+' to 'x' */
}
.faq-answer {
    /* Styles applied by JS */
    overflow: hidden;
    transition: max-height var(--transition-speed) ease-out, padding var(--transition-speed) ease-out;
    max-height: 0; /* Initially hidden */
    padding-top: 0;
    padding-bottom: 0;
    font-size: 1rem;
    color: var(--color-text-medium);
}
.faq-answer p {
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
     background: var(--color-background-dark);
     color: var(--color-text-light);
}
.contact-section .section-title,
.contact-section .contact-intro,
.contact-section .label,
.contact-section .contact-details strong,
.contact-section .contact-details p {
    color: var(--color-text-light);
}
.contact-section .futuristic-input,
.contact-section .futuristic-textarea {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-text-light);
    box-shadow: none;
}
.contact-section .futuristic-input::placeholder,
.contact-section .futuristic-textarea::placeholder {
     color: rgba(255, 255, 255, 0.6);
}
.contact-section .futuristic-input:focus,
.contact-section .futuristic-textarea:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb, 217, 142, 58), 0.3); /* Use accent focus color */
}
.contact-details {
    margin-top: 3rem;
}
.contact-details p {
    margin-bottom: 0.5rem;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-background-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 1.5rem;
    font-size: 0.95rem;
}
.footer-title {
    font-family: var(--font-headings);
    color: var(--color-text-light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.site-footer .columns {
    margin-bottom: 2rem; /* Space above copyright */
}
.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-footer li {
    margin-bottom: 0.5rem;
}
.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-speed) var(--transition-bezier);
    text-decoration: none;
}
.site-footer a:hover {
    color: var(--color-text-light);
    text-decoration: underline;
}
.site-footer .social-links a {
    display: inline-block; /* Allow margin */
    margin-right: 1rem; /* Space between text links */
    font-weight: 600;
}
.site-footer .content p { /* Copyright text */
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 2rem; /* More space above copyright */
}

/* --- Specific Page Styles --- */

/* Success Page */
.success-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
    background: var(--gradient-primary);
    color: var(--color-text-light);
}
.success-page-container .title,
.success-page-container p {
    color: var(--color-text-light);
     text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.success-page-container .button {
    margin-top: 1.5rem;
}

/* Privacy / Terms Pages */
.legal-page-content {
    padding-top: calc(var(--header-height) + 2rem); /* Header height + extra space */
    padding-bottom: 3rem;
    min-height: calc(100vh - var(--header-height)); /* Ensure content area fills space */
}
.legal-page-content h1 {
    margin-bottom: 2rem;
}
.legal-page-content h2 {
     margin-top: 2.5rem;
     margin-bottom: 1rem;
}

/* --- Animations & Transitions --- */
.has-animation {
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.6s var(--transition-bezier), transform 0.6s var(--transition-bezier);
}
.has-animation.animate-in { /* Class added by JS */
    opacity: 1;
    transform: translateY(0);
}

/* --- Utility Classes --- */
.has-text-centered {
    text-align: center;
}
.mt-1 { margin-top: var(--spacing-unit) * 0.25; }
.mt-2 { margin-top: var(--spacing-unit) * 0.5; }
.mt-3 { margin-top: var(--spacing-unit); }
.mt-4 { margin-top: var(--spacing-unit) * 1.5; }
.mt-5 { margin-top: var(--spacing-unit) * 3; }
.mt-6 { margin-top: var(--spacing-unit) * 4; }

.mb-1 { margin-bottom: var(--spacing-unit) * 0.25; }
.mb-2 { margin-bottom: var(--spacing-unit) * 0.5; }
.mb-3 { margin-bottom: var(--spacing-unit); }
.mb-4 { margin-bottom: var(--spacing-unit) * 1.5; }
.mb-5 { margin-bottom: var(--spacing-unit) * 3; }
.mb-6 { margin-bottom: var(--spacing-unit) * 4; }

/* --- Responsive Adjustments --- */

@media screen and (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }
    .section-title {
        margin-bottom: 2rem;
        font-size: 2rem;
    }
    .columns.is-multiline .column {
        margin-bottom: 1.5rem; /* Ensure spacing between stacked cards */
    }
    .innovation-section .media {
         flex-direction: column;
         text-align: center;
    }
     .innovation-section .media-left {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    .contact-form .field.has-text-centered {
        text-align: center !important; /* Override Bulma if needed */
    }
}

/* Cookie Consent Bar - Minimal Styles */
/* Styles are embedded in HTML for simplicity as requested */