:root {
    --color-primary: #00A896;
    --color-secondary: #02C39A;
    --color-background: #F0F9FF;
    --color-footer-bg: #028090;
    --color-button: #00A896;
    --color-text-dark: #333333;
    --color-text-light: #f8f8f8;
    --color-section-1: #F0F9FF;
    --color-section-2: #DDF0F4;
    --color-section-3: #B0D8E4;
    --color-section-4: #A2D0D8;
    --color-section-5: #F8FFFF;
    --color-section-6: #E6F7FA;

    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    --border-radius-sm: 0.5rem;
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1rem;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-size: 1.4rem;
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
    border-bottom: 1px solid var(--color-secondary);
}

ul, ol {
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

li {
    margin-bottom: var(--spacing-xs);
}

/* Base Layout & Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

section:nth-of-type(odd) {
    background-color: var(--color-section-1);
}

section:nth-of-type(even) {
    background-color: var(--color-section-2);
}

/* Custom classes for specific section backgrounds */
.section-bg-3 { background-color: var(--color-section-3); }
.section-bg-4 { background-color: var(--color-section-4); }
.section-bg-5 { background-color: var(--color-section-5); }
.section-bg-6 { background-color: var(--color-section-6); }

/* 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-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-text-light);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 168, 150, 0.2);
    position: relative;
    overflow: hidden;
    isolation: isolate; /* To ensure pseudo-elements are clipped */
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 168, 150, 0.3);
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 168, 150, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: none;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-text-light);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--color-text-dark);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid #D1D5DB;
    border-radius: var(--border-radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: #FFFFFF;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.2);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Cards (Glassmorphism Inspired) */
.card {
    background-color: rgba(255, 255, 255, 0.7); /* Slightly translucent white */
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-glass); /* Softer, slightly larger shadow for glass effect */
    backdrop-filter: blur(10px); /* Glassmorphism blur */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.18); /* Subtle border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.2);
}

/* Footer Styling */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.footer a {
    color: var(--color-secondary);
    text-decoration: none;
}

.footer a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Utility Classes for Spacing (if not using Tailwind's directly) */
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

/* Animations - Placeholder for AOS */
[data-aos="fade-up"] {
    transform: translateY(20px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    .container { padding: 0 var(--spacing-sm); }
    section { padding: var(--spacing-lg) 0; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    .btn {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    body { font-size: 0.95rem; }
    .card { padding: var(--spacing-md); }
    .footer { padding: var(--spacing-lg) 0; }
}

/* Alpine.js specific styles if needed */
[x-cloak] { display: none !important; }

/* Example of a subtle loading state/skeleton loader */
.skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: var(--border-radius-sm);
}

@keyframes loading {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Further refinements for a modern, clean, and inviting look */
.text-gradient {
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Subtle background pattern/texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"></feTurbulence><feColorMatrix type="saturate" values="0"></feColorMatrix></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.03"></rect></svg>');
    background-size: cover;
    pointer-events: none;
    z-index: -1;
    opacity: 0.8;
}

/* Example of a custom icon style for minimalist line-based icons */
.icon {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
    vertical-align: middle;
    margin-right: 0.25em;
}

/* Specific styling for header/navigation if present */
.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 168, 150, 0.1);
    box-shadow: var(--shadow-sm);
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-text-dark);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-bottom: none;
}

/* Smooth transitions for all elements */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

/* Focus states for accessibility */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

/* Alpine.js x-show transitions */
[x-transition:enter] {
    transition: all 0.3s ease-out;
}
[x-transition:enter-start] {
    opacity: 0;
    transform: translateY(10px);
}
[x-transition:enter-end] {
    opacity: 1;
    transform: translateY(0);
}
[x-transition:leave] {
    transition: all 0.2s ease-in;
}
[x-transition:leave-start] {
    opacity: 1;
    transform: translateY(0);
}
[x-transition:leave-end] {
    opacity: 0;
    transform: translateY(10px);
}


/* 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;
    }
}