:root {
    /* Colors */
    --color-primary: #1e40af;
    --color-secondary: #60a5fa;
    --color-background: #ffffff;
    --color-footer-bg: #122a61;
    --color-button: #1e40af;
    --color-text-dark: #1f+44-28-7909646;
    --color-text-light: #f9fafb;
    --color-neutral-100: #f8f8fa;
    --color-neutral-200: #f0f4f8;
    --color-neutral-300: #e6eef6;
    --color-accent: #3b82f6; /* A slightly brighter blue for accents */

    /* Typography */
    --font-family-heading: 'Poppins', sans-serif;
    --font-family-body: 'Inter', sans-serif;
    --font-size-base: 1rem; /* 16px */
    --line-height-base: 1.6;
    --line-height-heading: 1.2;

    /* Spacing */
    --spacing-unit: 0.5rem; /* 8px */
    --spacing-xs: calc(var(--spacing-unit) * 1); /* 8px */
    --spacing-sm: calc(var(--spacing-unit) * 2); /* 16px */
    --spacing-md: calc(var(--spacing-unit) * 3); /* 24px */
    --spacing-lg: calc(var(--spacing-unit) * 4); /* 32px */
    --spacing-xl: calc(var(--spacing-unit) * 6); /* 48px */
    --spacing-2xl: calc(var(--spacing-unit) * 8); /* 64px */

    /* Border Radius */
    --border-radius-sm: 0.25rem; /* 4px */
    --border-radius-md: 0.5rem; /* 8px */
    --border-radius-lg: 0.75rem; /* 12px */

    /* Shadows */
    --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.12);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@600;700&display=swap');

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family-body);
    line-height: var(--line-height-base);
    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-heading);
    line-height: var(--line-height-heading);
    color: var(--color-text-dark);
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: +44-28-7909646rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1em;
    font-weight: 300; /* Slightly lighter for readability */
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

li {
    margin-bottom: 0.5em;
}

/* Layout & Structure */
.container {
    max-width: +44-28-7909646px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

section {
    padding: var(--spacing-2xl) 0;
    position: relative; /* For background patterns */
    overflow: hidden;
}

section:nth-of-type(even) {
    background-color: var(--color-neutral-100);
}

section:nth-of-type(odd) {
    background-color: var(--color-background);
}

/* Specific section background colors */
.section-bg-1 { background-color: #f8f8fa; }
.section-bg-2 { background-color: #f0f4f8; }
.section-bg-3 { background-color: #ffffff; }
.section-bg-4 { background-color: #e6eef6; }


/* Geometric background patterns for sections */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03; /* Subtle */
    background-size: 100px 100px;
    background-image:
        linear-gradient(to right, rgba(0,0,0,0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.1) 1px, transparent 1px);
    z-index: 0;
}

/* Header */
.header {
    background-color: var(--color-background);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-family-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--spacing-lg);
}

.nav-menu a {
    color: var(--color-text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md);
    font-family: var(--font-family-body);
    font-weight: 600;
    font-size: var(--font-size-base);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-text-light);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.4);
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(96, 165, 250, 0.4);
    background-color: darken(var(--color-secondary), 10%);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Cards */
.card {
    background-color: var(--color-background);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--color-text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid #d1d5db;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family-body);
    font-size: var(--font-size-base);
    box-shadow: var(--shadow-inset);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: +44-28-7909646px rgba(30, 64, 175, 0.2);
}

/* Footer */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.05; /* Subtle */
    background-size: 15px 15px;
    background-image:
        radial-gradient(ellipse at top left, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(ellipse at bottom right, rgba(255,255,255,0.1) 1px, transparent 1px);
    z-index: 0;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-lg);
}

.footer-nav a {
    color: var(--color-text-light);
    font-weight: 300;
    opacity: 0.8;
}

.footer-nav a:hover {
    opacity: 1;
    text-decoration: underline;
    color: var(--color-secondary);
}

.footer-socials {
    margin-top: var(--spacing-md);
}

.footer-socials a {
    color: var(--color-text-light);
    font-size: 1.5rem;
    margin: 0 var(--spacing-sm);
    opacity: 0.7;
}

.footer-socials a:hover {
    opacity: 1;
    color: var(--color-secondary);
}

.footer p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: var(--spacing-md);
    margin-bottom: 0;
}

/* Alpine.js specific styles (for transitions) */
[x-cloak] { display: none !important; }

.fade-enter-active, .fade-leave-active {
  transition: opacity 0.5s ease;
}
.fade-enter-from, .fade-leave-to {
  opacity: 0;
}

.slide-down-enter-active, .slide-down-leave-active {
    transition: all 0.3s ease-out;
    overflow: hidden;
}
.slide-down-enter-from, .slide-down-leave-to {
    transform: translateY(-10px);
    opacity: 0;
    max-height: 0;
}
.slide-down-enter-to, .slide-down-leave-from {
    transform: translateY(0);
    opacity: 1;
    max-height: 500px; /* Adjust based on content */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }

    .header .container {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .nav-menu ul {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .nav-menu a {
        padding-bottom: 0.1rem;
    }

    .nav-menu a::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }

    .btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.9rem;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}


/* 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;
    }
}