/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-color: #6d28d9; /* Vibrant Purple */
    --primary-color-darker: #5b21b6;
    --secondary-color: #0ea5e9; /* Bright Sky Blue */
    --secondary-color-darker: #0284c7;
    --accent-color: #d946ef; /* Fuchsia/Pink Accent */
    --accent-color-darker: #c026d3;

    --text-light: #f8fafc; /* Very Light Gray / Off-White for dark backgrounds */
    --text-dark: #1e293b;  /* Dark Slate Gray for light backgrounds */
    --text-muted: #64748b; /* Medium Slate Gray */
    --text-hero: #FFFFFF; /* Pure white for hero section text */

    --bg-light: #f9fafb; /* Light gray page background */
    --bg-dark-section: #111827; /* Dark gray for alternate sections */
    --bg-card: rgba(30, 41, 59, 0.5); /* For glassmorphism on dark backgrounds, darker base */
    --bg-card-light: rgba(255, 255, 255, 0.65); /* For glassmorphism on light backgrounds, more opaque */

    --bg-gradient-start: var(--primary-color);
    --bg-gradient-end: var(--secondary-color);
    --bg-gradient-alt-start: #1e3a8a; /* Darker blue for footer/alt sections */
    --bg-gradient-alt-end: #3730a3;   /* Darker indigo */

    --font-heading: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-body: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    --spacing-xs: 0.25rem; /* 4px */
    --spacing-sm: 0.5rem;  /* 8px */
    --spacing-md: 1rem;    /* 16px */
    --spacing-lg: 1.5rem;  /* 24px */
    --spacing-xl: 2.5rem;  /* 40px */
    --spacing-xxl: 4rem;   /* 64px */

    --border-radius-sm: 0.375rem; /* 6px */
    --border-radius-md: 0.5rem;  /* 8px */
    --border-radius-lg: 0.75rem; /* 12px */
    --glass-border-light: 1px solid rgba(255, 255, 255, 0.15);
    --glass-border-dark: 1px solid rgba(0, 0, 0, 0.1);


    --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-glass: 0 8px 20px 0 rgba(0, 0, 0, 0.15);
    --shadow-glass-dark-bg: 0 8px 32px 0 rgba(0, 0, 0, 0.3);


    --transition-fast: all 0.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    --transition-smooth: all 0.3s ease-in-out;
    --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    --header-height: 70px; /* Adjusted slightly */
}

/* Global Resets & Base Styles */
*,
*::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-body);
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

h1 { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 600; }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-muted);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

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

ul, ol {
    list-style-position: outside; /* Better for custom styling */
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

ul li, ol li {
    margin-bottom: var(--spacing-sm);
}

/* Container */
.container {
    width: 90%;
    max-width: 1280px; /* Slightly wider for modern layouts */
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
    height: var(--header-height);
}

.site-header.glassmorphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-header.scrolled { /* Example for scrolled state if needed */
    background: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-md);
    height: calc(var(--header-height) - 10px);
}


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

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}
.site-header.glassmorphism .logo { color: var(--text-dark); } /* Or a specific theme color */
.site-header.scrolled .logo { color: var(--text-dark); }


.logo .logo-accent {
    color: var(--secondary-color);
}

.main-navigation .nav-links {
    list-style: none;
    display: flex;
    gap: var(--spacing-lg);
    margin: 0;
    padding: 0;
}

.main-navigation .nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    padding: var(--spacing-xs) 0; /* Reduced padding for sleeker look */
    position: relative;
    transition: var(--transition-smooth);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}


.main-navigation .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; /* Adjust for spacing */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.main-navigation .nav-links a:hover,
.main-navigation .nav-links a.active {
    color: var(--primary-color);
}

.main-navigation .nav-links a:hover::after,
.main-navigation .nav-links a.active::after {
    width: 60%; /* Or 100% if preferred */
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    z-index: 1001; /* Above mobile menu when closed */
}

.hamburger-icon {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-dark);
    position: relative;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    background-color: var(--text-dark);
    left: 0;
    transition: var(--transition-smooth);
    border-radius: 2px;
}
.hamburger-icon::before { top: -9px; }
.hamburger-icon::after { bottom: -9px; }

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

/* Hero Section */
.hero-section {
    padding: calc(var(--header-height) + var(--spacing-xxl)) 0 var(--spacing-xxl);
    color: var(--text-hero);
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 80vh; /* Ensure it's substantial but not fixed */
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column; /* Default stack */
    align-items: center;
    gap: var(--spacing-xl);
    width: 100%;
}
.hero-text-content {
    max-width: 800px;
}
.hero-text-content h1 {
    color: var(--text-hero);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}
.hero-text-content p {
    color: var(--text-hero);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-lg);
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
    opacity: 0.9;
}
.hero-form-container {
    width: 100%;
    max-width: 500px; /* Slightly smaller for hero */
    padding: var(--spacing-lg);
    text-align: left;
}
.hero-form-container.glassmorphism {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border-light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-glass-dark-bg);
}
.hero-form-container .form-title {
    color: var(--text-hero);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: clamp(1.5rem, 3vw, 1.8rem);
}

/* Global Form Styles */
.form-group {
    margin-bottom: var(--spacing-lg);
    position: relative;
}
.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
    font-size: 0.95rem;
}
.glassmorphism-form-light .form-group label { color: var(--text-dark); }

input[type="text"], input[type="email"], input[type="tel"], input[type="company"], textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius-md);
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
.glassmorphism-form-light input[type="text"], .glassmorphism-form-light input[type="email"], .glassmorphism-form-light textarea {
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--text-dark);
}
input[type="text"]::placeholder, input[type="email"]::placeholder, input[type="tel"]::placeholder, input[type="company"]::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.4); opacity: 1;
}
.glassmorphism-form-light input::placeholder, .glassmorphism-form-light textarea::placeholder { color: rgba(0,0,0,0.4); }

input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, input[type="company"]:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(var(--accent-color), 0.25), inset 0 1px 2px rgba(0,0,0,0.1);
}
.glassmorphism-form-light input:focus, .glassmorphism-form-light textarea:focus {
    background-color: rgba(255, 255, 255, 0.8);
}
textarea { resize: vertical; min-height: 120px; }

/* Global Button Styles */
.btn, button, input[type="submit"] {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
    padding: var(--spacing-sm) var(--spacing-lg); /* Adjusted padding */
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: perspective(1px) translateY(0); /* For smoother animations */
    box-shadow: var(--shadow-md);
    letter-spacing: 0.5px;
}
.btn:hover, button:hover, input[type="submit"]:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
}
.btn:active, button:active, input[type="submit"]:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: var(--shadow-sm);
}
.btn-primary, button[type="submit"] {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--text-hero);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.btn-primary:hover, button[type="submit"]:hover {
    background: linear-gradient(45deg, var(--primary-color-darker), var(--accent-color-darker));
}
.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-hero);
}
.hero-form-container .btn { width: 100%; padding: var(--spacing-md) var(--spacing-lg); }

/* Content Sections */
.content-section { padding: var(--spacing-xxl) 0; }
.alt-bg { background-color: var(--bg-dark-section); }
.alt-bg h1, .alt-bg h2, .alt-bg h3, .alt-bg h4, .alt-bg p, .alt-bg li { color: var(--text-light); }
.alt-bg .section-title, .alt-bg .section-subtitle, .alt-bg .page-title, .alt-bg .gallery-title, .alt-bg .form-title {
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
.alt-bg p { color: #e0e0e0; } /* Lighter for dark backgrounds */
.alt-bg a { color: var(--secondary-color); }
.alt-bg a:hover { color: var(--accent-color); }
.alt-bg .btn-secondary { color: var(--secondary-color); border-color: var(--secondary-color); }
.alt-bg .btn-secondary:hover { background: var(--secondary-color); color: var(--text-dark); }

.section-title, .page-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-weight: 800;
}
.page-title { margin-bottom: var(--spacing-xl); }
.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}
.alt-bg .section-subtitle { color: #e5e7eb; }

/* Columns Layout */
.columns { display: flex; flex-wrap: wrap; margin: -0.75rem; }
.columns:not(:last-child) { margin-bottom: calc(1.5rem - 0.75rem); }
.column { display: block; flex-basis: 0; flex-grow: 1; flex-shrink: 1; padding: 0.75rem; }
.column.is-two-thirds { flex: none; width: 66.6666%; }
.column.is-one-third { flex: none; width: 33.3333%; }
.column.is-half { flex: none; width: 50%; }
.column.is-one-quarter { flex: none; width: 25%; }

/* Glassmorphism utility */
.glassmorphism {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius-lg);
    border: var(--glass-border-light);
    box-shadow: var(--shadow-glass-dark-bg);
    padding: var(--spacing-lg);
}
.content-section:not(.alt-bg) .glassmorphism {
    background: var(--bg-card-light);
    border: var(--glass-border-dark);
    box-shadow: var(--shadow-glass);
}

/* Methodology Section */
.methodology-image-container img { border-radius: var(--border-radius-md); box-shadow: var(--shadow-lg); }
.methodology-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}
.step-card {
    text-align: center;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.step-card img {
    width: 70px; height: 70px; object-fit: contain; margin-bottom: var(--spacing-md);
    border-radius: 50%; padding: var(--spacing-sm); background-color: rgba(255, 255, 255, 0.08);
}
.step-card h3 { color: var(--text-light); margin-bottom: var(--spacing-sm); font-size: 1.25rem; }
.content-section:not(.alt-bg) .step-card h3 { color: var(--text-dark); }
.content-section:not(.alt-bg) .step-card img { background-color: rgba(0, 0, 0, 0.04); }
.step-card p { font-size: 0.9rem; }

/* Innovation Section */
.innovation-card {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; height: 100%;
}
.innovation-card .card-image {
    width: 100%; height: 220px; margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius-md); overflow: hidden; position: relative;
}
.innovation-card .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--transition-bounce); }
.innovation-card:hover .card-image img { transform: scale(1.08); }
.innovation-card .card-content { flex-grow: 1; }
.innovation-card .card-content h3 { margin-bottom: var(--spacing-sm); font-size: 1.3rem; }
.innovation-card .card-content p { font-size: 0.95rem; }

.toggle-section { margin-top: var(--spacing-xl); text-align: center; }
.toggle-button {
    background-color: var(--accent-color); color: var(--text-hero); padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-md); border: none; cursor: pointer; font-size: 1.05rem;
    transition: var(--transition-smooth); display: inline-flex; align-items: center; gap: var(--spacing-sm);
}
.toggle-button:hover { background-color: var(--accent-color-darker); }
.toggle-icon { font-weight: bold; transition: transform 0.3s ease-in-out; }
.toggle-button.active .toggle-icon { transform: rotate(135deg); }
.toggle-content {
    max-height: 0; overflow: hidden; transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
    background-color: rgba(0,0,0,0.05); border-radius: var(--border-radius-sm);
    margin-top: var(--spacing-md); padding: 0 var(--spacing-md); text-align: left;
}
.alt-bg .toggle-content { background-color: rgba(255,255,255,0.05); }
.toggle-content.active { max-height: 500px; padding: var(--spacing-lg); }

/* External Resources Section */
.resource-carousel { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--spacing-lg); }
.resource-card { padding: var(--spacing-lg); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.resource-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.resource-card .resource-title { font-size: 1.2rem; margin-bottom: var(--spacing-sm); }
.resource-card .resource-title a { color: var(--text-dark); }
.content-section.alt-bg .resource-card .resource-title a { color: var(--text-light); }
.resource-card .resource-title a:hover { color: var(--accent-color); }
.resource-card .resource-description { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.content-section.alt-bg .resource-card .resource-description { color: #d1d5db; }

/* Community Section */
.community-image-container img { border-radius: var(--border-radius-md); box-shadow: var(--shadow-lg); }
.image-gallery-container { margin-top: var(--spacing-xl); text-align: center; }
.gallery-title { text-align: center; margin-bottom: var(--spacing-lg); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--spacing-lg); margin-bottom: var(--spacing-lg); }
.gallery-item {
    text-align: center; padding: var(--spacing-sm); display: flex; flex-direction: column; align-items: center;
}
.gallery-item img {
    width: 100%; height: 200px; object-fit: cover; border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-sm); box-shadow: var(--shadow-md); transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.gallery-item:hover img { transform: scale(1.05) translateY(-6px); box-shadow: var(--shadow-lg); }
.gallery-item p { font-weight: 500; margin-top: var(--spacing-xs); font-size: 0.9rem; }

/* Insights Section */
.insights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--spacing-lg); }
.insight-card {
    display: flex; flex-direction: column; align-items: stretch; /* Stretch content */
    text-align: left; /* Align text left for readability */
    overflow: hidden;
}
.insight-card .card-image {
    width: 100%; height: 220px; border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    overflow: hidden; position: relative;
}
.insight-card .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); }
.insight-card:hover .card-image img { transform: scale(1.1); }
.insight-card .card-content { padding: var(--spacing-lg); flex-grow: 1; display: flex; flex-direction: column; }
.insight-card h3 { font-size: 1.35rem; margin-bottom: var(--spacing-sm); }
.insight-card p { font-size: 0.9rem; margin-bottom: var(--spacing-md); flex-grow: 1; } /* Allow p to grow */
.read-more {
    font-weight: 600; color: var(--accent-color); text-decoration: none; display: inline-block;
    padding: var(--spacing-xs) 0; position: relative; margin-top: auto; /* Push to bottom */
}
.read-more::after { content: '→'; margin-left: var(--spacing-xs); transition: margin-left 0.3s ease; }
.read-more:hover { color: var(--accent-color-darker); text-decoration: none; }
.read-more:hover::after { margin-left: var(--spacing-sm); }

/* Modal Styles */
.modal {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%;
    overflow: auto; background-color: rgba(0,0,0,0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    align-items: center; justify-content: center;
}
.modal.active { display: flex; }
.modal-content {
    position: relative; margin: auto; padding: var(--spacing-xl); width: 90%;
    max-width: 650px; max-height: 90vh; overflow-y: auto;
}
.alt-bg .modal-content.glassmorphism, .modal-content.glassmorphism {
    background: var(--bg-card); border: var(--glass-border-light); box-shadow: var(--shadow-glass-dark-bg); color: var(--text-light);
}
.modal-content.glassmorphism h2, .modal-content.glassmorphism p { color: var(--text-light); }
.content-section:not(.alt-bg) .modal-content.glassmorphism {
    background: var(--bg-card-light); border: var(--glass-border-dark); color: var(--text-dark);
}
.content-section:not(.alt-bg) .modal-content.glassmorphism h2, .content-section:not(.alt-bg) .modal-content.glassmorphism p { color: var(--text-dark); }
.close-modal-button {
    color: var(--text-light); float: right; font-size: 2.2rem; font-weight: bold;
    line-height: 1; transition: color 0.2s ease;
}
.content-section:not(.alt-bg) .modal-content .close-modal-button { color: var(--text-dark); }
.close-modal-button:hover, .close-modal-button:focus { color: var(--accent-color); text-decoration: none; cursor: pointer; }
.modal-image-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--spacing-sm); margin-top: var(--spacing-md); }
.modal-image-grid img { border-radius: var(--border-radius-sm); width: 100%; height: 110px; object-fit: cover; }

/* Footer */
.site-footer {
    padding: var(--spacing-xxl) 0 var(--spacing-lg); color: var(--text-light);
    background-size: cover; background-position: center; background-repeat: no-repeat; position: relative;
}
.dynamic-gradient-bg-alt { background: linear-gradient(135deg, var(--bg-gradient-alt-start), var(--bg-gradient-alt-end)); }
.site-footer::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.8) 100%); z-index: 0;
}
.footer-container { position: relative; z-index: 1; }
.footer-columns { display: flex; flex-wrap: wrap; gap: var(--spacing-lg); margin-bottom: var(--spacing-xl); }
.footer-column { flex: 1; min-width: 220px; }
.footer-column h3, .footer-column h4 { color: var(--text-hero); margin-bottom: var(--spacing-md); font-size: 1.2rem; }
.footer-column .logo { color: var(--text-hero); }
.footer-column .logo .logo-accent { color: var(--secondary-color); }
.footer-column p { color: #e5e7eb; font-size: 0.9rem; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: var(--spacing-sm); }
.footer-column ul li a { color: #cbd5e1; text-decoration: none; transition: var(--transition-smooth); font-size: 0.95rem; }
.footer-column ul li a:hover { color: var(--secondary-color); text-decoration: none; padding-left: var(--spacing-sm); }
.footer-bottom { text-align: center; padding-top: var(--spacing-lg); border-top: 1px solid rgba(255, 255, 255, 0.15); }
.footer-bottom p { font-size: 0.85rem; color: #d1d5db; margin: 0; }

/* Specific Page Styles */
/* Contact Page */
.contact-info-container { gap: var(--spacing-xl); }
.contact-form-column .glassmorphism-form {
    background: var(--bg-card-light); border: var(--glass-border-dark);
    box-shadow: var(--shadow-glass); padding: var(--spacing-xl);
}
.contact-form-column .form-title { color: var(--text-dark); text-align: center; }
.contact-form-column .form-group label { color: var(--text-dark); }
.contact-form-column input[type="text"], .contact-form-column input[type="email"], .contact-form-column textarea {
    border: 1px solid rgba(0, 0, 0, 0.2); background-color: rgba(255, 255, 255, 0.75); color: var(--text-dark);
}
.contact-form-column input::placeholder, .contact-form-column textarea::placeholder { color: rgba(0,0,0,0.45); }
.contact-details-column .section-subtitle { text-align: left; margin-left: 0; margin-bottom: var(--spacing-md); }
.contact-card { padding: var(--spacing-lg); margin-bottom: var(--spacing-lg); }
.contact-card.glassmorphism { background: var(--bg-card-light); border: var(--glass-border-dark); box-shadow: var(--shadow-glass); }
.contact-card address, .contact-card p { margin-bottom: var(--spacing-sm); color: var(--text-dark); }
.contact-card strong { color: var(--text-dark); font-weight: 600; }
.map-placeholder img { border-radius: var(--border-radius-md); box-shadow: var(--shadow-lg); }
.map-placeholder.glassmorphism { padding: 0; border: none; background: transparent; box-shadow: none; }

/* About Page */
#about-us .page-title { margin-bottom: var(--spacing-md); }
#about-us .section-subtitle {
    text-align: left; margin-left: 0; color: var(--primary-color);
    font-size: 1.4rem; margin-top: var(--spacing-lg); margin-bottom: var(--spacing-sm);
}
#about-us ul { list-style-type: '✓ '; padding-left: var(--spacing-sm); } /* Custom bullet */
#about-us ul li { margin-bottom: var(--spacing-sm); padding-left: var(--spacing-sm); }
.about-image-container.glassmorphism { padding: var(--spacing-sm); background: var(--bg-card-light); border: var(--glass-border-dark); }
.about-image-container img { border-radius: var(--border-radius-sm); object-fit: cover; }
.image-caption { font-size: 0.85rem; color: var(--text-muted); text-align: center; margin-top: var(--spacing-sm); }
.alt-bg .image-caption { color: var(--text-light); }

/* Privacy & Terms Pages */
#privacy-policy, #terms-conditions { padding-top: calc(var(--header-height) + var(--spacing-xl) + 20px); } /* Extra 20px */
#privacy-policy article h2, #terms-conditions article h2 {
    font-size: 1.6rem; color: var(--primary-color); margin-top: var(--spacing-xl); margin-bottom: var(--spacing-md);
}
#privacy-policy article h2:first-of-type, #terms-conditions article h2:first-of-type { margin-top: 0; }
#privacy-policy p, #terms-conditions p, #privacy-policy li, #terms-conditions li { color: var(--text-dark); line-height: 1.75; }
.last-updated { display: block; text-align: center; margin-bottom: var(--spacing-xl); color: var(--text-muted); font-style: italic; }

/* Success Page */
.success-message-section {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    min-height: calc(100vh - var(--header-height) - 130px); /* Approx footer height, adjust if needed */
    text-align: center; padding: var(--spacing-xl) var(--spacing-md);
}
.success-icon img { width: 90px; height: 90px; margin-bottom: var(--spacing-lg); animation: bounceIn 0.8s var(--transition-bounce) forwards; }
.success-page-actions { margin-top: var(--spacing-lg); display: flex; gap: var(--spacing-md); justify-content: center; flex-wrap: wrap; }
@keyframes bounceIn { 0% { transform: scale(0.3); opacity: 0; } 60% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }

/* Image Overlays for readability (generic) */
.image-container { position: relative; overflow: hidden; display: flex; justify-content: center; align-items: center; text-align: center; }
.image-container .image-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    z-index: 1; pointer-events: none; border-radius: inherit;
}
.image-container img { z-index: 0; }
.image-container > *:not(img):not(.image-overlay) { position: relative; z-index: 2; color: var(--text-hero); }

/* Cookie Consent Popup */
#cookieConsentPopup { font-family: var(--font-body); }
#cookieConsentPopup p a { color: var(--secondary-color); font-weight: 500; }
#acceptCookieButton { background-color: var(--primary-color); }
#acceptCookieButton:hover { background-color: var(--primary-color-darker); }
#closeCookiePopupButton:hover { background-color: rgba(255,255,255,0.1); color: var(--text-light); }

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-form-container { margin-left: auto; margin-right: auto; }
    .columns { margin-left: 0; margin-right: 0; }
    .column { width: 100% !important; flex-basis: auto !important; }
    .column:not(:last-child) { margin-bottom: var(--spacing-lg); }
}

@media (max-width: 768px) {
    :root { --header-height: 60px; }
    .main-navigation .nav-links {
        display: none; flex-direction: column; position: absolute;
        top: 100%; /* Position below header */
        left: 0; width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
        padding: var(--spacing-md) 0; box-shadow: var(--shadow-lg);
        border-top: 1px solid rgba(0,0,0,0.08);
        transform: translateY(-20px); opacity: 0;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
        z-index: 999;
    }
    .main-navigation .nav-links.active { display: flex; transform: translateY(0); opacity: 1; }
    .main-navigation .nav-links li { width: 100%; text-align: center; }
    .main-navigation .nav-links a {
        padding: var(--spacing-md) var(--spacing-lg); display: block; width: 100%; color: var(--text-dark);
        font-size: 1.05rem;
    }
    .main-navigation .nav-links a:hover, .main-navigation .nav-links a.active {
        background-color: rgba(var(--primary-color-rgb, 109, 40, 217), 0.08); /* Use RGB for alpha */
        color: var(--primary-color);
    }
    .main-navigation .nav-links a::after { display: none; }
    .menu-toggle { display: block; }
    .menu-toggle.active .hamburger-icon { background-color: transparent; }
    .menu-toggle.active .hamburger-icon::before { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active .hamburger-icon::after { transform: translateY(-9px) rotate(-45deg); }

    .hero-section { padding-top: calc(var(--header-height) + var(--spacing-lg)); padding-bottom: var(--spacing-lg); min-height: 70vh;}
    .hero-form-container { padding: var(--spacing-md); }
    #privacy-policy, #terms-conditions { padding-top: calc(var(--header-height) + var(--spacing-md) + 20px); }
    .footer-columns { flex-direction: column; }
    .footer-column { min-width: auto; }
}

@media (max-width: 480px) {
    .container { width: 95%; padding-left: var(--spacing-sm); padding-right: var(--spacing-sm); }
    .btn, button, input[type="submit"] { font-size: 0.9rem; padding: var(--spacing-sm) var(--spacing-md); }
    .hero-text-content h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
    .hero-text-content p { font-size: clamp(0.9rem, 4vw, 1.1rem); }
    .step-card img { width: 60px; height: 60px; }
}

/* AOS Animations - base (AOS library will handle the trigger) */
[data-aos] {
    transition-property: transform, opacity;
}