:root {
    --color-primary: #2C7DA0;
    --color-secondary: #C9D6DF;
    --color-background: #F8F8F8;
    --color-footer-bg: #2C7DA0;
    --color-button: #5DADE2;
    --color-section-1: #D4E5F6;
    --color-section-2: #E5F2E5;
    --color-section-3: #F0F0E4;
    --color-section-4: #C9D6DF;
    --color-section-5: #F8F8F8;
    --color-text-dark: #333333;
    --color-text-light: #ffffff;
    --font-family-heading: 'Montserrat', sans-serif;
    --font-family-body: 'Lato', sans-serif;
    --border-radius-soft: 12px;
    --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-glass-light: 0 4px 6px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    line-height: 1.7;
    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);
    color: var(--color-primary);
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

h1 { font-size: 3.2em; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: 2.6em; font-weight: 600; }
h3 { font-size: 2.1em; font-weight: 600; }
h4 { font-size: 1.8em; font-weight: 500; }
h5 { font-size: 1.5em; font-weight: 500; }
h6 { font-size: 1.2em; font-weight: 500; }

p {
    margin-bottom: 1em;
    font-size: 1.1em;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: var(--color-button);
    text-decoration: underline;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-subtle);
    padding: 1.2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.header__logo {
    font-family: var(--font-family-heading);
    font-size: 1.8em;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.header__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2.5rem;
}

.header__nav a {
    color: var(--color-text-dark);
    font-weight: 500;
    font-size: 1.05em;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.header__nav a:hover {
    color: var(--color-primary);
}

.header__nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.header__nav a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9em 2em;
    border: none;
    border-radius: var(--border-radius-soft);
    font-family: var(--font-family-heading);
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--color-button) 0%, #4a90e2 100%);
    color: var(--color-text-light);
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #4a90e2 0%, var(--color-button) 100%);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: var(--color-secondary);
    color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.btn-secondary:hover {
    background: #b1c4d1;
    color: var(--color-primary);
    box-shadow: 0 5px 12px rgba(0,0,0,0.08);
}

/* Section Styling */
.section {
    padding: 6rem 0;
    margin-bottom: 0; /* Override default margin */
}

.section:nth-of-type(1) { background-color: var(--color-section-1); }
.section:nth-of-type(2) { background-color: var(--color-section-5); } /* Using 5th for contrast */
.section:nth-of-type(3) { background-color: var(--color-section-2); }
.section:nth-of-type(4) { background-color: var(--color-section-5); }
.section:nth-of-type(5) { background-color: var(--color-section-3); }
.section:nth-of-type(6) { background-color: var(--color-section-5); }

/* Glassmorphism Card */
.card-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--border-radius-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-glass-light);
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, box-shadow;
}

.card-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Form Elements */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 0.8em 1.2em;
    margin-bottom: 1.2em;
    border: 1px solid var(--color-secondary);
    border-radius: var(--border-radius-soft);
    font-family: var(--font-family-body);
    font-size: 1em;
    color: var(--color-text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(44, 125, 160, 0.2);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Alpine.js states for dynamic elements */
[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-up-enter-active, .slide-up-leave-active {
    transition: all 0.4s ease-out;
}
.slide-up-enter-from, .slide-up-leave-to {
    opacity: 0;
    transform: translateY(20px);
}

/* Footer */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: 4rem 2.5rem;
    text-align: center;
    font-size: 0.95em;
}

.footer a {
    color: var(--color-secondary);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--color-text-light);
    text-decoration: underline;
}

.footer__nav ul {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer__social a {
    font-size: 1.8em;
    margin: 0 0.8em;
    color: var(--color-secondary);
}

.footer__social a:hover {
    color: var(--color-text-light);
}

/* Utility classes (considering Tailwind is present, these are additions) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

/* Responsive adjustments */
@media (max-width: 1024px) {
    h1 { font-size: 2.8em; }
    h2 { font-size: 2.2em; }
    h3 { font-size: 1.8em; }
    .header { padding: 1rem 2rem; }
    .header__nav ul { gap: 1.5rem; }
    .section { padding: 4rem 0; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.5em; }
    p { font-size: 1em; }
    .header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.5rem;
    }
    .header__nav {
        margin-top: 1rem;
        width: 100%;
    }
    .header__nav ul {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        text-align: center;
    }
    .header__nav a {
        display: block;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .header__nav a::after {
        display: none;
    }
    .footer__nav ul {
        flex-direction: column;
        gap: 0.8rem;
    }
    .card-glass {
        padding: 1.8rem;
    }
    .btn {
        padding: 0.8em 1.8em;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.5em; }
    .section { padding: 3rem 0; }
    .header { padding: 0.8rem 1rem; }
    .header__logo { font-size: 1.5em; }
}

/* Font Awesome specific adjustments */
.fa, .fas, .far, .fal, .fab {
    line-height: inherit; /* Ensure icons align well with text */
}

/* Additional small adjustments for a polished look */
::selection {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}
::-moz-selection {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below images */
    border-radius: var(--border-radius-soft); /* Apply soft rounding to images */
}

/* Specific styling for list items if needed for content sections */
ul, ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

ul li, ol li {
    margin-bottom: 0.5em;
    font-size: 1.05em;
}

/* Focus states for accessibility */
*:focus {
    outline: 2px solid var(--color-button);
    outline-offset: 3px;
    border-radius: 4px;
}
.btn:focus {
    box-shadow: 0 0 0 4px rgba(93, 173, 226, 0.5);
    outline: none;
}
.header__nav a:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-primary);
}
.footer a:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-secondary);
}


/* 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;
    }
}