:root {
    --primary-color: #0F4C81;
    --secondary-color: #CAF0F8;
    --background-color: #E0FFFF;
    --footer-bg-color: #0A3B65;
    --button-color: #0F4C81;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --border-radius-base: 12px;
    --font-family-base: 'Inter', sans-serif;
    --section-bg-1: #E0FFFF;
    --section-bg-2: #F0F8FF;
    --section-bg-3: #E6F7FF;
    --section-bg-4: #DDF2FE;
    --section-bg-5: #CCEEFF;
    --section-bg-6: #BBDEFB;
    --text-color: #333;
    --heading-color: #0F4C81;
    --link-color: #0F4C81;
    --link-hover-color: #0A3B65;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.4em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1em; }

p {
    margin-bottom: 1em;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease;
}

a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

li {
    margin-bottom: 0.5em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Glassmorphism Effect */
.glass-card, .glass-nav, .glass-button {
    backdrop-filter: blur(10px);
    background-color: var(--glass-bg);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-base);
    transition: all 0.3s ease-in-out;
}

.glass-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.glass-card:hover {
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.45);
    transform: translateY(-3px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius-base);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--button-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(15, 76, 129, 0.4);
}

.btn-primary:hover {
    background-color: var(--link-hover-color);
    box-shadow: 0 6px 20px rgba(10, 59, 101, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-glass {
    @extend .btn; /* Extend base button styles */
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(31, 38, 135, 0.2);
}

.btn-glass:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(31, 38, 135, 0.3);
    color: var(--link-hover-color);
    transform: translateY(-2px);
}


/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: var(--border-radius-base);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: var(--text-color);
    background-color: #fff;
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(15, 76, 129, 0.25);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Sections */
.section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.section:nth-of-type(odd) {
    background-color: var(--section-bg-2);
}

.section:nth-of-type(even) {
    background-color: var(--section-bg-1);
}

/* Specific section backgrounds based on list */
.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); }
.section-6 { background-color: var(--section-bg-6); }

/* Header/Navigation */
.header {
    background-color: var(--background-color);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.logo {
    font-size: 1.8em;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.05em;
    display: inline-block;
    padding: 0.2em 0;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    color: var(--heading-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Footer */
.footer {
    background-color: var(--footer-bg-color);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer a:hover {
    color: #fff;
}

/* Alpine.js related styles for transitions */
[x-cloak] { display: none !important; }

/* Transition for elements revealed by Alpine.js x-show/x-if */
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s ease;
}
.fade-enter, .fade-leave-to {
    opacity: 0;
}

.slide-down-enter-active, .slide-down-leave-active {
    transition: all 0.4s ease-out;
    overflow: hidden;
}
.slide-down-enter, .slide-down-leave-to {
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
}
.slide-down-enter-to, .slide-down-leave {
    max-height: 500px; /* Adjust based on content */
    opacity: 1;
    transform: translateY(0);
}

/* Utility classes for spacing and alignment (complementing Tailwind) */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }

.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.py-6 { padding-top: 4rem; padding-bottom: 4rem; }

.px-4 { padding-left: 2rem; padding-right: 2rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.5em; }

    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .nav-menu a {
        padding: 0.5rem 0;
    }

    .section {
        padding: 3rem 0;
    }

    .glass-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8em; }
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    .container {
        padding: 0 1rem;
    }
}

/* Subtle gradient background for body to enhance freshness */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--secondary-color) 100%);
    opacity: 0.3;
    z-index: -1;
}

/* Professional elegance through subtle shadows and rounded borders */
.shadow-subtle {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.border-rounded {
    border-radius: var(--border-radius-base);
}

/* Icons styling (assuming font icons or SVGs) */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em; /* Align with text */
    fill: currentColor; /* Use text color */
}

/* Specific styling for elements that might contain icons */
.icon-btn .icon {
    margin-right: 0.5em;
}

/* Example of a custom component: Feature box with glassmorphism */
.feature-box {
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: var(--border-radius-base);
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px 0 rgba(31, 38, 135, 0.2);
    transition: all 0.3s ease;
}

.feature-box:hover {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px 0 rgba(31, 38, 135, 0.3);
    transform: translateY(-5px);
}

.feature-box .icon {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    display: block;
}

.feature-box h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: var(--heading-color);
}

/* Gradient text for hero section or prominent titles */
.gradient-text {
    background: linear-gradient(45deg, var(--primary-color), var(--link-hover-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for browsers that don't support text-fill-color */
}

/* Active navigation link styling */
.nav-menu a.active {
    color: var(--link-hover-color);
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 100%;
    background-color: var(--link-hover-color);
}

/* Focus states for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: var(--border-radius-base);
}

.btn:focus-visible, .form-control:focus-visible {
    outline-offset: 3px;
}


/* 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;
    }
}