/* style.css */

/* CSS Variables */
:root {
    --primary-color: #3B82F6; /* Vibrant Blue */
    --primary-color-rgb: 59, 130, 246;
    --primary-color-dark: #2563EB;

    --accent-color-1: #10B981; /* Teal/Greenish Blue */
    --accent-color-1-rgb: 16, 185, 129;
    --accent-color-1-dark: #059669;

    --accent-color-2: #6366F1; /* Indigo/Violet Blue */
    --accent-color-2-rgb: 99, 102, 241;
    --accent-color-2-dark: #4F46E5;

    --text-dark: #111827; /* Very Dark Gray (near black) */
    --text-medium: #374151; /* Dark Gray */
    --text-light: #FFFFFF;

    --bg-light: #F9FAFB; /* Off-white */
    --bg-medium: #F3F4F6; /* Light Gray */
    --bg-dark: #1F2937; /* Dark Blue-Gray (e.g., Footer) */

    --border-color: #D1D5DB;
    --border-color-light: #E5E7EB;

    --font-family-headings: 'Raleway', sans-serif;
    --font-family-body: 'Open Sans', sans-serif;

    --header-height: 70px;
    --footer-height: auto;

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-full: 9999px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --volumetric-shadow:
        0 6px 12px -2px rgba(var(--primary-color-rgb), 0.15),
        0 3px 7px -3px rgba(var(--primary-color-rgb), 0.15);
    --volumetric-shadow-hover:
        0 10px 20px -3px rgba(var(--primary-color-rgb), 0.22),
        0 4px 8px -4px rgba(var(--primary-color-rgb), 0.22);

    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;

    --section-padding-y: 60px; /* Natural height based on content */
    --section-padding-y-alt: 80px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

body.modal-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

h1 { font-size: 2.8rem; margin-bottom: var(--space-lg); font-weight: 800;}
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--space-md);
    max-width: 75ch; /* Improve readability */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    color: var(--primary-color-dark);
    opacity: 0.85;
}

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

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.section-padding {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
}

.section-padding-alt {
    padding-top: var(--section-padding-y-alt);
    padding-bottom: var(--section-padding-y-alt);
    background-color: var(--bg-medium);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
    font-size: 2.5rem; /* Slightly larger for section titles */
    color: var(--text-dark); /* Ensured dark color for titles */
    position: relative;
}
.section-title::after { /* Optional decorative underline */
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--accent-color-1);
    margin: var(--space-sm) auto 0;
    border-radius: var(--border-radius-sm);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: var(--space-xxl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.section-outro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-top: var(--space-lg);
}

.inline-link {
    font-weight: 600;
    color: var(--accent-color-1);
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.inline-link:hover {
    color: var(--accent-color-1-dark);
    border-color: var(--accent-color-1-dark);
}

/* Page Transition Overlay */
#page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 10000;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}
body.loaded #page-transition-overlay {
    opacity: 0;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo {
    font-family: var(--font-family-headings);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}
.logo .logo-accent {
    color: var(--accent-color-1);
}
.main-nav .nav-list {
    display: flex;
    align-items: center;
}
.main-nav .nav-list li {
    margin-left: var(--space-lg);
}
.main-nav .nav-link {
    font-family: var(--font-family-body);
    font-weight: 600;
    color: var(--text-medium);
    padding: var(--space-sm) 0;
    position: relative;
    transition: color 0.3s ease;
}
.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--primary-color);
}
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    width: 100%;
}
.menu-toggle { /* Burger Menu */
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}
.hamburger-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
    border-radius: var(--border-radius-sm);
}

main { /* Add padding for fixed header */
    padding-top: var(--header-height);
}

/* Hero Section */
.hero-section {
    position: relative; /* For particle canvas */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: calc(100vh - var(--header-height)); /* Adjust if header is part of viewport height calculation */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: var(--space-xxl) var(--space-md);
}
.hero-content {
    position: relative; /* To be above particles */
    z-index: 2;
    max-width: 800px;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--text-light); /* Ensured white text */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7); /* Enhanced shadow for readability */
}
.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--space-xl);
    color: var(--text-light); /* Ensured white text */
    line-height: 1.7;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6); /* Enhanced shadow */
}
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Behind hero content */
}

/* Buttons - Global Styles */
.btn, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-family-body);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: var(--border-radius-full); /* Pill shape */
    padding: var(--space-md) var(--space-xl);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    -webkit-appearance: none; /* Fix for iOS button styling */
    -moz-appearance: none;
    appearance: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}
.btn-primary:hover {
    background-color: var(--primary-color-dark);
    color: var(--text-light); /* Ensure color remains on hover */
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-primary:active {
    transform: translateY(0px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background-color: var(--accent-color-1);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}
.btn-secondary:hover {
    background-color: var(--accent-color-1-dark);
    color: var(--text-light); /* Ensure color remains on hover */
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-secondary:active {
    transform: translateY(0px);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color); /* Ensure border color consistency on hover */
}

/* Volumetric UI Elements (can be applied to .btn or .card) */
.btn-volumetric,
.card-volumetric {
    box-shadow: var(--volumetric-shadow);
}
.btn-volumetric:hover,
.card-volumetric:hover {
    transform: translateY(-4px) scale(1.02); /* Enhanced effect for volumetric */
    box-shadow: var(--volumetric-shadow-hover);
}
.card-volumetric { /* Add default card styling if not already a card */
    background-color: var(--text-light);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
}

/* Card Styles */
.card {
    background-color: var(--text-light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* For equal height cards in a grid */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.card-image { /* Container for the image */
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    overflow: hidden;
    background-color: var(--bg-medium); /* Placeholder bg */
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.card:hover .card-image img {
    transform: scale(1.05);
}
.card-content {
    padding: var(--space-lg);
    flex-grow: 1; /* Allows content to fill space */
    display: flex;
    flex-direction: column;
    text-align: left; /* Default text align */
}
.card-content h3 { /* Or specific title class */
    margin-bottom: var(--space-sm);
    font-size: 1.4rem;
}
.card-content p {
    font-size: 0.95rem;
    flex-grow: 1; /* Pushes actions to bottom if any */
    margin-bottom: var(--space-md);
}
/* STROGO: Centering content for all card-like elements as per prompt */
.feature-card .card-content,
.portfolio-card .card-content,
.external-link-card .card-content,
.process-step .card-content, /* Assuming .process-step is card-like */
.media-item p /* Text below media item */ {
    text-align: center;
}
.feature-card,
.portfolio-card,
.external-link-card,
.process-step,
.media-item {
    align-items: center; /* Center blocks like card-image and card-content if they aren't full width */
}
.process-step .process-step-icon { /* Specifically center icon in process step */
    margin-bottom: var(--space-md);
}
.process-step .process-step-icon img {
    margin: 0 auto; /* Center the icon image itself */
}

/* Features Section */
.features-grid,
.portfolio-grid,
.process-steps-grid,
.media-grid,
.external-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}
.feature-title {
    color: var(--primary-color);
}

/* About Us Section */
.about-us-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}
.about-image-container img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
}
.about-text p {
    font-size: 1.05rem;
    color: var(--text-medium);
}

/* Our Process Section */
.process-step { /* Already a card-volumetric in HTML */
    padding: var(--space-xl);
    text-align: center;
}
.process-step-icon img {
    margin-bottom: var(--space-md);
    height: 64px; /* As per HTML */
    width: 64px;
}
.process-step-title {
    font-size: 1.3rem;
    color: var(--accent-color-2);
    margin-bottom: var(--space-sm);
}

/* Innovation Section */
.innovation-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}
.innovation-image-container img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}
.switch-example-container {
    margin-top: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    background-color: var(--text-light);
    padding: var(--space-md);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}
/* Switch Component Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}
input:checked + .slider {
    background-color: var(--accent-color-1);
}
input:focus + .slider {
    box-shadow: 0 0 1px var(--accent-color-1);
}
input:checked + .slider:before {
    transform: translateX(26px);
}
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}

/* Workshops Preview Section */
.workshop-highlight-card { /* Already card-volumetric in HTML */
    display: grid;
    grid-template-columns: 1fr; /* Stacked on mobile */
    gap: var(--space-lg);
    align-items: center;
    padding: 0; /* Override card-volumetric padding */
    overflow: hidden; /* Ensure image radius is respected */
}
.workshop-image-container img {
    width: 100%;
    height: 300px; /* Adjust as needed */
    object-fit: cover;
}
.workshop-content {
    padding: var(--space-xl);
    text-align: left;
}
.workshop-content h3 {
    color: var(--accent-color-2);
}

/* Media Section */
.media-item {
    text-align: center;
}
.media-video-placeholder {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: pointer;
    margin-bottom: var(--space-sm);
    box-shadow: var(--shadow-md);
}
.media-video-placeholder .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(var(--primary-color-rgb), 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.media-video-placeholder:hover .play-button {
    background-color: rgba(var(--primary-color-rgb), 1);
    transform: translate(-50%, -50%) scale(1.1);
}
.media-image {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: auto; /* Adjust if fixed height is needed, then use object-fit */
    margin-bottom: var(--space-sm);
}
.media-item p {
    font-weight: 600;
    color: var(--text-medium);
    margin-top: var(--space-sm); /* For text under images */
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7); /* Dimmed background */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}
.modal.active {
    display: flex; /* Use flex to center */
}
.modal-content {
    background-color: var(--bg-light);
    margin: auto;
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 800px; /* Max width for video player */
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: modalFadeIn 0.5s ease-out;
}
.modal-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: var(--border-radius-md);
}
.close-button {
    color: var(--text-medium);
    position: absolute;
    top: var(--space-md);
    right: var(--space-lg);
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}
.close-button:hover,
.close-button:focus {
    color: var(--text-dark);
    text-decoration: none;
    cursor: pointer;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* External Links Section */
.external-link-card .card-content { /* Ensure card structure is followed */
    text-align: left; /* Usually descriptions are left-aligned */
}
.external-link-card h3 a {
    color: var(--primary-color);
    font-size: 1.2rem;
}
.external-link-card h3 a:hover {
    color: var(--primary-color-dark);
    text-decoration: underline;
}
.external-link-description {
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* Contact Section */
.contact-form-container { /* Already card-volumetric in HTML */
    padding: var(--space-xl);
    background-color: var(--text-light);
    border-radius: var(--border-radius-lg);
}
.form-group {
    margin-bottom: var(--space-lg);
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}
.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-family: var(--font-family-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bg-light); /* Slightly off-white for depth */
}
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
}
.form-textarea {
    min-height: 120px;
    resize: vertical;
}
.contact-details {
    margin-top: var(--space-xl);
    text-align: center;
}
.contact-details p {
    margin-bottom: var(--space-sm);
}

/* Footer */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--bg-medium); /* Lighter text on dark background */
    padding-top: var(--section-padding-y-alt);
    padding-bottom: var(--space-xl);
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}
.footer-column h4.footer-heading {
    color: var(--text-light);
    margin-bottom: var(--space-md);
    font-size: 1.3rem;
}
.footer-column p {
    color: var(--border-color); /* Lighter gray for paragraph text */
    font-size: 0.95rem;
    line-height: 1.7;
}
.footer-nav-list li,
.footer-social-list li {
    margin-bottom: var(--space-sm);
}
.footer-link {
    color: var(--border-color); /* Lighter gray for links */
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-link:hover {
    color: var(--text-light);
    padding-left: var(--space-xs); /* Subtle indent on hover */
}
.footer-social-list .footer-link { /* Text-based social links */
    display: inline-block; /* To allow padding */
}
.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--text-medium); /* Subtle separator */
    font-size: 0.9rem;
    color: var(--border-color);
}

/* Specific Page Styles */
/* success.html */
.success-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: var(--space-xl);
    background-color: var(--bg-light);
}
.success-page-container h1 {
    color: var(--accent-color-1);
    font-size: 3rem;
}
.success-page-container p {
    font-size: 1.2rem;
    margin-bottom: var(--space-xl);
}
.success-page-container .btn {
    margin-top: var(--space-md);
}

/* privacy.html, terms.html */
.legal-page-content {
    padding-top: 100px; /* As per prompt */
    padding-bottom: var(--section-padding-y);
}
.legal-page-content .container h1 {
    margin-bottom: var(--space-xl);
    text-align: center;
}
.legal-page-content .container h2 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--primary-color);
}
.legal-page-content .container p,
.legal-page-content .container ul li {
    line-height: 1.8;
    color: var(--text-medium);
}
.legal-page-content .container ul {
    list-style: disc;
    margin-left: var(--space-lg);
    margin-bottom: var(--space-md);
}


/* Cookie Consent Popup (minimal inline styles are in HTML, this can enhance) */
#cookieConsentPopup {
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2); /* Add some shadow */
}
#cookieConsentPopup p a {
    font-weight: bold; /* Make link more prominent */
}
#acceptCookieButton { /* Style already in HTML, but can be overridden or enhanced here */
    font-weight: bold;
}

/* Responsive Design */
@media (min-width: 769px) { /* Desktop-first adjustments for larger layouts */
    .about-us-content {
        grid-template-columns: repeat(2, 1fr); /* Side-by-side */
    }
    .about-us-content > div:first-child { /* Image first on larger screens if desired */
        order: 0;
    }
    .innovation-content {
        grid-template-columns: repeat(2, 1fr);
    }
    /* For innovation section, image on right */
    .innovation-content .innovation-text { order: 1; }
    .innovation-content .innovation-image-container { order: 2; }

    .workshop-highlight-card {
        grid-template-columns: 1fr 1.5fr; /* Image | Text */
    }
    .workshop-highlight-card.image-right {
        grid-template-columns: 1.5fr 1fr; /* Text | Image */
    }
    .workshop-highlight-card.image-right .workshop-image-container { order: 2; }
    .workshop-highlight-card.image-right .workshop-content { order: 1; }

}


@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }

    .section-padding {
        padding-top: calc(var(--section-padding-y) * 0.8);
        padding-bottom: calc(var(--section-padding-y) * 0.8);
    }
    .section-padding-alt {
        padding-top: calc(var(--section-padding-y-alt) * 0.8);
        padding-bottom: calc(var(--section-padding-y-alt) * 0.8);
    }

    .menu-toggle {
        display: block;
        z-index: 1001; /* Above nav list when closed */
    }
    .main-nav .nav-list {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--text-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: var(--header-height);
        opacity: 0;
        transform: translateY(-100%);
        transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
        z-index: 999; /* Below header but above content */
    }
    .main-nav .nav-list.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    .main-nav .nav-list li {
        margin: var(--space-md) 0;
    }
    .main-nav .nav-link {
        font-size: 1.3rem;
        color: var(--text-dark);
    }
    .main-nav .nav-link:hover,
    .main-nav .nav-link.active {
        color: var(--primary-color);
    }
    .main-nav .nav-link::after { /* Adjust for mobile nav */
        display: none; /* Or style differently */
    }

    /* Burger menu animation */
    .menu-toggle.active .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .footer-container {
        grid-template-columns: 1fr; /* Stack columns */
        text-align: center;
    }
    .footer-column {
        margin-bottom: var(--space-lg);
    }
    .footer-nav-list, .footer-social-list {
        justify-content: center;
    }

    .workshop-image-container img {
        height: 250px; /* Adjust for mobile */
    }

    .innovation-content .innovation-text { order: 2; } /* Text below image on mobile */
    .innovation-content .innovation-image-container { order: 1; }
}

/* ScrollReveal initial state (elements are hidden before reveal) */
[data-scrollreveal] {
    visibility: hidden;
}