:root {
    /* Colors */
    --primary-color: #6C63FF;
    --secondary-color: #8ECDDD;
    --background-color: #F0F8FF;
    --footer-bg-color: #2C3E50;
    --button-color: #6C63FF;
    --section-bg-1: #FFFFFF;
    --section-bg-2: #F8F8FF;
    --section-bg-3: #E6F7FF;
    --section-bg-4: #D9EAF7;
    --section-bg-5: #C2E0FF;
    --text-color-dark: #333333;
    --text-color-light: #fefefe;
    --focus-glow-color: rgba(142, 205, 221, 0.5); /* secondary-color with transparency */

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-size-base: 1rem; /* 16px */
    --line-height-base: 1.7;
    --heading-line-height: 1.2;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Border Radius */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.12);
    --shadow-clay: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.7);
    --shadow-clay-hover: 2px 2px 5px rgba(0, 0, 0, 0.08), -2px -2px 5px rgba(255, 255, 255, 0.5);

    /* Transitions */
    --transition-ease: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color-dark);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: var(--heading-line-height);
    color: var(--text-color-dark);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: 2.25rem; font-weight: 600; letter-spacing: -0.02em; }
h3 { font-size: 1.75rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 500; }
h5 { font-size: 1.125rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-ease);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

ul, ol {
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

/* Layout & Structure */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden; /* For any subtle animations or overflows */
}

.section-bg-1 { background-color: var(--section-bg-1); }
.section-bg-2 { background-color: var(--section-bg-2); }
.section-bg-3 { background-color: var(--section-bg-3); }
.section-bg-4 { background-color: var(--section-bg-4); }
.section-bg-5 { background-color: var(--section-bg-5); }


/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: var(--spacing-sm) var(--spacing-md);
    transition: background-color 0.4s ease-out, box-shadow 0.4s ease-out;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95); /* Slightly opaque white */
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition-ease);
}

.logo:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--spacing-lg);
}

.nav-item a {
    color: var(--text-color-dark);
    font-weight: 500;
    position: relative;
    padding: var(--spacing-xs) 0;
    overflow: hidden;
}

.nav-item a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
}

.nav-item a:hover::before {
    transform: translateX(0);
}

.nav-item a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(108, 99, 255, 0.4); /* Subtle glow */
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--font-size-base);
    text-align: center;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, var(--button-color) 0%, var(--primary-color) 100%);
    color: var(--text-color-light);
    box-shadow: var(--shadow-clay);
    transition: var(--transition-ease);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:hover {
    box-shadow: var(--shadow-clay-hover);
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--button-color) 100%); /* Slightly shifted gradient */
}

.btn:active {
    transform: translateY(0);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.15), inset -2px -2px 5px rgba(255, 255, 255, 0.6);
}

/* Cards */
.card {
    background-color: var(--section-bg-1);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: var(--spacing-lg);
    transition: var(--transition-ease);
    position: relative;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.card-image {
    width: 100%;
    height: 200px; /* Example height */
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--spacing-md);
    filter: brightness(0.98) contrast(1.02); /* Soft diffused lighting effect */
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.card-description {
    font-size: 0.95rem;
    color: #666;
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.8); /* Light background */
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    transition: var(--transition-ease);
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.05);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px var(--focus-glow-color); /* Glowing blue focus */
    background-color: var(--section-bg-1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Icons (Placeholder for styling if specific icon font/library is used) */
.icon {
    display: inline-block;
    width: 24px; /* Example size */
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: var(--spacing-xs);
    /* Example: if using SVG sprites or an icon font, adjust styles accordingly */
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--footer-bg-color) 0%, #3a5068 100%);
    color: var(--text-color-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-column h4 {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-column ul li a {
    color: var(--text-color-light);
    opacity: 0.8;
    transition: var(--transition-ease);
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
    opacity: 1;
    text-decoration: underline;
}

.footer-contact p {
    margin-bottom: var(--spacing-xs);
}

.footer-copyright {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Glassmorphism effect for elements (optional, can be applied to specific cards/sections) */
.glassy-element {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .header-content {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .nav-list {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .nav-item a::before {
        display: none; /* Hide underline effect on small screens for simplicity */
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .btn {
        width: 100%;
        padding: var(--spacing-md) var(--spacing-lg);
    }

    section {
        padding: var(--spacing-lg) 0;
    }
}

/* Scroll-based animations (example, requires JavaScript to trigger) */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* 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;
    }
}