:root {
    /* Colors */
    --color-primary: #1a4947;
    --color-secondary: #76ccbe;
    --color-background: #F0F5F5;
    --color-footer-bg: #0D2E2D;
    --color-button: #308A82;
    --color-text-dark: #1a4947;
    --color-text-light: #F0F5F5;
    --color-accent-light: #a4e0d9; /* Lighter shade for button hover */

    --section-bg-1: #FFFFFF;
    --section-bg-2: #ECEFEF;
    --section-bg-3: #D8E1E1;
    --section-bg-4: #C3D2D2;
    --section-bg-5: #ADBFBF;
    --section-bg-6: #97A9A9;

    /* Typography */
    --font-family-headings: 'Montserrat', sans-serif;
    --font-family-body: 'Lato', sans-serif;
    --text-base: 1rem;
    --line-height-body: 1.7;

    /* Spacing */
    --spacing-unit: 0.5rem; /* Base for modular scale */
    --spacing-xs: var(--spacing-unit);      /* 8px */
    --spacing-sm: calc(var(--spacing-unit) * 2); /* 16px */
    --spacing-md: calc(var(--spacing-unit) * 4); /* 32px */
    --spacing-lg: calc(var(--spacing-unit) * 6); /* 48px */
    --spacing-xl: calc(var(--spacing-unit) * 8); /* 64px */

    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.12), 0 4px 6px rgba(0, 0, 0, 0.06);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    line-height: var(--line-height-body);
    color: var(--color-text-dark);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    color: var(--color-primary);
    line-height: 1.2;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

h1 { font-size: 3.5rem; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: 2.5rem; font-weight: 600; }
h3 { font-size: 1.8rem; font-weight: 600; }
h4 { font-size: 1.4rem; font-weight: 500; }
h5 { font-size: 1.2rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }

p {
    margin-bottom: 1em;
    font-size: var(--text-base);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

ul, ol {
    margin-left: var(--spacing-md);
    margin-bottom: 1em;
}

li {
    margin-bottom: 0.5em;
}

/* Utility Classes (to complement Tailwind) */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.section {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

/* Section Backgrounds */
.section:nth-of-type(even) { background-color: var(--section-bg-2); }
.section:nth-of-type(odd) { background-color: var(--section-bg-1); }
/* Specific sections can override with classes like .bg-primary-light, etc. */
.bg-section-1 { background-color: var(--section-bg-1); }
.bg-section-2 { background-color: var(--section-bg-2); }
.bg-section-3 { background-color: var(--section-bg-3); }
.bg-section-4 { background-color: var(--section-bg-4); }
.bg-section-5 { background-color: var(--section-bg-5); }
.bg-section-6 { background-color: var(--section-bg-6); }


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-lg);
    font-family: var(--font-family-headings);
    font-weight: 600;
    font-size: var(--text-base);
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: var(--shadow-sm);
    background: linear-gradient(135deg, var(--color-button) 0%, var(--color-accent-light) 100%);
    color: var(--color-text-light);
    transform: translateZ(0); /* For smoother animation */
}

.btn:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-button) 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent-light) 100%);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-secondary) 100%);
    color: var(--color-text-dark);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    padding: var(--spacing-sm) var(--spacing-md);
}

.header.scrolled {
    background-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo {
    height: 40px; /* Adjust size as needed */
    width: auto;
    filter: brightness(0) invert(1); /* Assume logo is dark, make it white for initial transparent header */
    transition: filter 0.4s ease;
}

.header.scrolled .header-logo {
    filter: none; /* Reset filter when header is solid */
}

.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--spacing-md);
}

.header-nav a {
    color: var(--color-text-light);
    font-family: var(--font-family-body);
    font-weight: 500;
    font-size: 1.05rem;
    padding: var(--spacing-xs) 0;
    position: relative;
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: var(--color-secondary);
}

.header-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}

.header-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" style="stop-color:%2376ccbe;stop-opacity:1" /><stop offset="100%" style="stop-color:%231a4947;stop-opacity:1" /></linearGradient></defs><path fill="url(%23grad1)" fill-opacity="1" d="M0,160L48,170.7C96,181,192,203,288,202.7C384,203,480,181,576,170.7C672,160,768,160,864,160C960,160,1056,160,1152,154.7C1248,149,1344,139,1392,133.3L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
    background-size: cover;
    background-position: center bottom;
    color: var(--color-text-light);
    text-align: center;
    padding: 10rem var(--spacing-md) 8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

/* Abstract geometric patterns */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(118, 204, 190, 0.2) 0%, transparent 50%),
                radial-gradient(circle at bottom right, rgba(26, 73, 71, 0.2) 0%, transparent 50%);
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

.hero-section h1 {
    color: var(--color-text-light);
    font-size: 4.5rem;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.05em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-section p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Cards (Glassmorphism) */
.card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    margin: var(--spacing-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 64px 0 rgba(31, 38, 135, 0.2);
}

/* Form Elements */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--color-primary);
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--section-bg-4);
    border-radius: var(--border-radius-md);
    font-family: var(--font-family-body);
    font-size: var(--text-base);
    background-color: var(--section-bg-1);
    color: var(--color-text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(118, 204, 190, 0.3); /* Focus ring effect */
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto var(--spacing-xl);
}

.footer-col h3 {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-col a {
    color: var(--color-text-light);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--color-secondary);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-md);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Animations (for Alpine.js x-show/x-transition) */
/* Fade in/out */
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s ease;
}
.fade-enter-from, .fade-leave-to {
    opacity: 0;
}

/* Slide in from bottom */
.slide-up-enter-active, .slide-up-leave-active {
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.slide-up-enter-from, .slide-up-leave-to {
    opacity: 0;
    transform: translateY(20px);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .hero-section {
        padding: 8rem var(--spacing-md) 6rem;
        min-height: 60vh;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    .header-nav ul {
        gap: var(--spacing-sm);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .social-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .header-nav {
        display: none; /* Hide nav on small screens, assuming a mobile menu toggle will handle this */
    }

    .header-content {
        justify-content: center; /* Center logo if nav is hidden */
    }
}

/* AOS overrides/defaults - ensure they blend with the aesthetic */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-up"] {
    transform: translateY(20px);
}
[data-aos="fade-right"] {
    transform: translateX(-20px);
}
[data-aos="fade-left"] {
    transform: translateX(20px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0);
}

/* Specific image styling based on prompt */
.image-abstract-geometric {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    /* For actual images, apply object-fit, etc. */
    width: 100%;
    height: auto;
    display: block;
}

/* Placeholder for image generation (conceptual) */
.img-placeholder-abstract {
    background: linear-gradient(45deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    min-height: 200px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-family: var(--font-family-headings);
    font-size: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.img-placeholder-abstract::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.1"/></svg>');
    opacity: 0.2;
    pointer-events: none;
}<ctrl63>


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}