:root {
    /* Colors */
    --color-primary: #1A4384;
    --color-secondary: #5D8CD6;
    --color-background: #1B2430;
    --color-footer-bg: #0D1117;
    --color-button: #4C7CFF;
    --color-text-light: #E0E6F0;
    --color-text-muted: #A0B0C0;
    --color-border-light: rgba(255, 255, 255, 0.1);

    --section-bg-1: #1B2430;
    --section-bg-2: #1D2B3D;
    --section-bg-3: #203247;
    --section-bg-4: #233852;
    --section-bg-5: #27425F;
    --section-bg-6: #0D1117;

    /* Fonts */
    --font-body: 'Roboto', sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;

    /* Border Radius */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1rem;

    /* Shadows */
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-light);
    background-color: var(--color-background);
    line-height: 1.7; /* Generous line-height for readability */
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-light);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    letter-spacing: -0.02em; /* Slightly tighter for headings */
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: var(--color-button);
    transform: translateY(-1px);
}

/* 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-footer {
    background-color: var(--section-bg-6);
}

/* Header Styles (Floating Glassmorphism) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center; /* Center content */
    align-items: center;
    backdrop-filter: blur(15px); /* Glassmorphism blur */
    background-color: rgba(26, 67, 132, 0.2); /* Semi-transparent primary color */
    box-shadow: var(--shadow-glass); /* Glassmorphism shadow */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background-color: rgba(26, 67, 132, 0.4); /* Darker when scrolled */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Constrain content width */
}

.header .logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.header .logo:hover {
    color: var(--color-secondary);
}

.header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.header nav ul li a {
    color: var(--color-text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.header nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-secondary);
    transform: translateY(-2px);
}

/* Button Styles (Softly Rounded with Gradient) */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: var(--border-radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    outline: none;
    color: var(--color-text-light);
    background: linear-gradient(135deg, var(--color-primary), var(--color-button));
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden; /* For hover effect */
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); /* Brighter gradient */
}

.btn:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Input Field Styles */
.input-field {
    width: 100%;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    background-color: rgba(0, 0, 0, 0.3); /* Darker background */
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle inner shadow */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(76, 124, 255, 0.2); /* Focus glow */
}

.input-field::placeholder {
    color: var(--color-text-muted);
}

textarea.input-field {
    min-height: 120px;
    resize: vertical;
}

/* Footer Styles (Multi-column dark with wave top border) */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-muted);
    padding-top: var(--spacing-xl); /* Space for wave */
    padding-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px; /* Adjust height of the wave */
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 100" xmlns="http://www.w3.org/2000/svg"><path fill="%230D1117" d="M0,32L60,42.7C120,53,240,75,360,74.7C480,75,600,53,720,42.7C840,32,960,32,1080,37.3C1200,43,1320,53,1380,58.7L1440,64L1440,0L1380,0C1320,0,1200,0,1080,0C960,0,840,0,720,0C600,0,480,0,360,0C240,0,120,0,60,0L0,0Z"></path></svg>') no-repeat center bottom;
    background-size: cover;
    transform: translateY(-99%); /* Position wave at the top edge */
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2; /* Ensure content is above wave */
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin: 1rem;
}

.footer-column h3 {
    color: var(--color-text-light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.7rem;
}

.footer-column ul li a {
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* Utility Classes for Spacing (if not using Tailwind for everything) */
.py-section {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .header nav ul {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .header nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header nav ul li a {
        padding: 0.3rem 0.8rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        margin: 1rem 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}



/* 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;
    }
}