:root {
    --primary-color: #0D47A1;
    --secondary-color: #00BCD4;
    --background-color: #E0F7FA;
    --footer-bg-color: #001F3F;
    --button-color: #00BCD4;
    --text-color: #212121;
    --light-text-color: #E0F7FA;
    --glass-blur: 15px;
    --glass-bg-opacity: 0.2;
    --neon-glow-primary: 0 0 5px var(--secondary-color), 0 0 15px var(--secondary-color), 0 0 30px var(--secondary-color), 0 0 50px var(--secondary-color);
    --neon-glow-secondary: 0 0 5px var(--primary-color), 0 0 15px var(--primary-color);
    --border-radius-pill: 9999px;
    --transition-speed: 0.3s;
    --section-bg-1: #E3F2FD;
    --section-bg-2: #E8F5E9;
    --section-bg-3: #E1F5FE;
    --section-bg-4: #DCEDC8;
    --section-bg-5: #B2EBF2;
    --section-bg-6: #C8E6C9;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--background-color) 0%, #B2EBF2 100%);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h3 {
    font-size: 1.8rem;
    line-height: 1.3;
}

p {
    margin-bottom: 1em;
    font-size: 1.1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease, text-shadow var(--transition-speed) ease;
}

a:hover {
    color: var(--primary-color);
    text-shadow: var(--neon-glow-secondary);
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, var(--glass-bg-opacity));
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 2rem;
    margin: 1rem;
    position: relative;
    overflow: hidden;
    transform: translateZ(0); /* For better rendering of blur */
}

.glass-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.0) 100%);
    z-index: -1;
}

/* Header Styling */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 2rem;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-speed) ease;
}

.header-logo {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--light-text-color);
    text-shadow: var(--neon-glow-secondary);
}

.header-nav a {
    color: var(--light-text-color);
    margin-left: 2rem;
    font-weight: 500;
    position: relative;
}

.header-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: var(--light-text-color);
    transition: width var(--transition-speed) ease;
    -webkit-transition: width var(--transition-speed) ease;
}

.header-nav a:hover::after {
    width: 100%;
    left: 0;
    background: var(--secondary-color);
    box-shadow: var(--neon-glow-primary);
}

/* Button Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: var(--border-radius-pill);
    background-color: var(--button-color);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--neon-glow-primary);
    color: var(--light-text-color);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 188, 212, 0.6);
}

/* Section Backgrounds */
.section-bg-1 { background-color: var(--section-bg-1); }
.section-bg-2 { background-color: var(--section-bg-2); }
.section-bg-3 { background-color: var(--section-bg-3); }
.section-bg-4 { background-color: var(--section-bg-4); }
.section-bg-5 { background-color: var(--section-bg-5); }
.section-bg-6 { background-color: var(--section-bg-6); }

/* Image Styling */
img:not(.no-filter) {
    filter: saturate(0.8) brightness(0.9);
    transition: filter 0.5s ease;
}

img:not(.no-filter):hover {
    filter: saturate(1.2) brightness(1) drop-shadow(0 0 10px rgba(0, 188, 212, 0.7));
}

/* Footer Styling */
.footer {
    background-color: var(--footer-bg-color);
    color: var(--light-text-color);
    padding: 3rem 2rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    box-shadow: inset 0 8px 20px rgba(0, 0, 0, 0.3);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 31, 63, 0.8) 0%, rgba(0, 31, 63, 1) 70%);
    opacity: 0.8;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer p {
    margin: 0.5rem 0;
    color: var(--light-text-color);
}

.footer a {
    color: var(--secondary-color);
    text-shadow: none;
}

.footer a:hover {
    color: var(--light-text-color);
    text-shadow: var(--neon-glow-primary);
}

/* Utility classes for spacing (complementing Tailwind) */
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.my-12 { margin-top: 3rem; margin-bottom: 3rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

/* Neon Glow for specific elements */
.neon-text {
    text-shadow: var(--neon-glow-primary);
    animation: neon-pulse 1.5s infinite alternate;
}

@keyframes neon-pulse {
    from {
        text-shadow: var(--neon-glow-primary);
        opacity: 1;
    }
    to {
        text-shadow: 0 0 3px var(--secondary-color), 0 0 10px var(--secondary-color), 0 0 20px var(--secondary-color);
        opacity: 0.8;
    }
}

/* Glass Card Example */
.card.glass-effect {
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card.glass-effect h3 {
    color: var(--primary-color);
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* Media Queries */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .header {
        flex-direction: column;
        padding: 1rem;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    .header-nav {
        margin-top: 1rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-nav a {
        margin: 0.5rem 1rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .glass-effect {
        padding: 1.5rem;
        margin: 0.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    .header-logo {
        font-size: 1.5rem;
    }

    .header-nav a {
        margin: 0.3rem 0.8rem;
    }

    .footer {
        padding: 2rem 1rem;
    }
}


/* 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;
    }
}