:root {
    /* Colors */
    --primary-color: #0F52BA;
    --secondary-color: #87CEEB;
    --background-color: #E0FFFF;
    --footer-bg-color: #0A3D91;
    --button-color: #0F52BA;

    --section-bg-1: #E0FFFF;
    --section-bg-2: #F0F8FF;
    --section-bg-3: #ADD8E6;
    --section-bg-4: #B0E0E6;
    --section-bg-5: #CCEFFF;

    --text-color-dark: #2c3e50;
    --text-color-light: #ecf0f1;
    --glass-border-color: rgba(255, 255, 255, 0.3);
    --glass-shadow-color: rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-family-primary: 'Poppins', sans-serif;
    --font-family-secondary: 'Roboto', sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border Radius */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 1.5rem;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-secondary);
    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;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-primary);
    color: var(--primary-color);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

h1 { font-size: 3.5rem; font-weight: 700; letter-spacing: -0.05em; }
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: var(--spacing-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-padding {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

/* Glassmorphism Effect */
.glass-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid var(--glass-border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px 0 var(--glass-shadow-color);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.2);
}

/* 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-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--button-color);
    color: var(--text-color-light);
    box-shadow: 0 4px 15px rgba(15, 82, 186, 0.4);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(135, 206, 235, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    box-shadow: 0 6px 15px rgba(15, 82, 186, 0.3);
    transform: translateY(-2px);
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-control {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family-secondary);
    font-size: var(--font-size-base);
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--text-color-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 82, 186, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Header */
.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;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-family-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--spacing-lg);
}

.nav-menu a {
    font-family: var(--font-family-primary);
    font-weight: 500;
    color: var(--text-color-dark);
    padding: var(--spacing-xs) 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Sections with varying backgrounds */
.section-1 { background-color: var(--section-bg-1); }
.section-2 { background-color: var(--section-bg-2); }
.section-3 { background-color: var(--section-bg-3); }
.section-4 { background-color: var(--section-bg-4); }
.section-5 { background-color: var(--section-bg-5); }

/* Footer */
.footer {
    background-color: var(--footer-bg-color);
    color: var(--text-color-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
    font-family: var(--font-family-secondary);
}

.footer a {
    color: var(--secondary-color);
}

.footer a:hover {
    color: var(--text-color-light);
    text-decoration: underline;
}

/* Alpine.js specific styles */
[x-cloak] {
    display: none !important;
}

/* Transitions for Alpine.js x-show/x-if */
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s ease;
}
.fade-enter-from, .fade-leave-to {
    opacity: 0;
}

.slide-up-enter-active, .slide-up-leave-active {
    transition: all 0.5s ease;
}
.slide-up-enter-from, .slide-up-leave-to {
    opacity: 0;
    transform: translateY(20px);
}

/* Media Queries */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .header .container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .nav-menu ul {
        flex-direction: column;
        gap: var(--spacing-xs);
        padding-top: var(--spacing-sm);
    }

    .nav-menu a {
        padding: var(--spacing-xs) var(--spacing-md);
        border-radius: var(--border-radius-sm);
    }
    
    .nav-menu a::after {
        display: none;
    }

    .nav-menu a:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .section-padding {
        padding-top: var(--spacing-lg);
        padding-bottom: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }

    .glass-card {
        padding: var(--spacing-md);
    }
}

/* Custom Scrollbar (optional, for aesthetics) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}


/* 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;
    }
}