:root {
    /* Colors */
    --clr-primary: #0F52BA;
    --clr-secondary: #2A8C8C;
    --clr-background: #F0F0F0;
    --clr-footer-bg: #0E1A29;
    --clr-button: #0F52BA;
    --clr-text-dark-bg: #F0F0F0;
    --clr-text-light-bg: #333333;
    --clr-section-bg-1: #0E1A29;
    --clr-section-bg-2: #E9EDED;
    --clr-section-bg-3: #CBD2D5;
    --clr-glass-bg: rgba(255, 255, 255, 0.15);
    --clr-glass-border: rgba(255, 255, 255, 0.2);

    /* Fonts */
    --ff-heading: 'Montserrat', sans-serif;
    --ff-body: 'Roboto', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Border Radius */
    --br-sm: 0.25rem;
    --br-md: 0.5rem;
    --br-lg: 0.75rem;
    --br-full: 9999px;

    /* Transitions */
    --transition-speed: 0.3s;
    --transition-ease: ease-in-out;

    /* Shadows */
    --shadow-glass: 0 4px 30px rgba(0, 0, 0, 0.1);
    --shadow-button: 0 5px 15px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 15px var(--clr-primary);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-body);
    color: var(--clr-text-light-bg);
    background-color: var(--clr-background);
    line-height: 1.7; /* Generous line-height for readability */
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-heading);
    color: var(--clr-primary);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    letter-spacing: -0.02em; /* Subtle tightening 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: 600;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--clr-primary);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-ease);
}

a:hover {
    color: var(--clr-secondary);
    text-decoration: underline;
}

/* Layout & Spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xxl) 0; /* Generous section padding */
    position: relative;
    z-index: 1; /* Ensure content is above potential background effects */
}

/* Section Backgrounds */
.section-bg-1 {
    background-color: var(--clr-section-bg-1);
    color: var(--clr-text-dark-bg);
}

.section-bg-1 h1, .section-bg-1 h2, .section-bg-1 h3, .section-bg-1 h4, .section-bg-1 h5, .section-bg-1 h6 {
    color: var(--clr-text-dark-bg);
}

.section-bg-1 a {
    color: var(--clr-secondary);
}

.section-bg-2 {
    background-color: var(--clr-section-bg-2);
    color: var(--clr-text-light-bg);
}

.section-bg-3 {
    background-color: var(--clr-section-bg-3);
    color: var(--clr-text-light-bg);
}

/* Header Styles (Fixed with Glassmorphism) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--clr-glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--clr-glass-border);
    padding: var(--spacing-sm) var(--spacing-md);
    box-shadow: var(--shadow-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    font-family: var(--ff-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--clr-text-dark-bg);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.header .nav-link {
    color: var(--clr-text-dark-bg);
    padding: var(--spacing-xs) var(--spacing-sm);
    margin-left: var(--spacing-md);
    position: relative;
    transition: color var(--transition-speed) var(--transition-ease);
}

.header .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-secondary);
    transition: width var(--transition-speed) var(--transition-ease);
}

.header .nav-link:hover::after,
.header .nav-link.active::after {
    width: 100%;
}

.header .nav-link:hover {
    color: var(--clr-secondary);
}

/* Button Styles (Rounded Rectangular with subtle gradient, morph on hover) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--br-md);
    background: linear-gradient(45deg, var(--clr-button), var(--clr-primary));
    color: var(--clr-text-dark-bg);
    font-family: var(--ff-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    box-shadow: var(--shadow-button);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) var(--transition-ease),
                border-radius var(--transition-speed) var(--transition-ease);
    will-change: transform, border-radius, box-shadow;
}

.btn-primary:hover {
    transform: scale(1.02) translateY(-2px); /* Slightly stretched */
    border-radius: var(--br-sm); /* Morph to slightly less rounded */
    box-shadow: var(--shadow-glow), var(--shadow-button); /* Add glow */
    background: linear-gradient(45deg, var(--clr-primary), var(--clr-button)); /* Slight gradient shift */
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--clr-text-dark-bg) 10%, transparent 10.01%);
    background-size: 0 0;
    background-position: center;
    transition: background-size 0.5s var(--transition-ease);
    opacity: 0.2;
}

.btn-primary:hover::before {
    background-size: 100% 100%;
}

/* Footer Styles (Dark, sleek with columns and subtle glow on social icons) */
.footer {
    background-color: var(--clr-footer-bg);
    color: var(--clr-text-dark-bg);
    padding: var(--spacing-xxl) 0;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.footer-col h4 {
    color: var(--clr-secondary);
    font-family: var(--ff-heading);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-col ul li a {
    color: var(--clr-text-dark-bg);
    transition: color var(--transition-speed) var(--transition-ease);
}

.footer-col ul li a:hover {
    color: var(--clr-primary);
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-icon {
    color: var(--clr-text-dark-bg);
    font-size: 1.5rem;
    transition: all var(--transition-speed) var(--transition-ease);
    text-decoration: none;
}

.social-icon:hover {
    color: var(--clr-primary);
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 8px var(--clr-primary)); /* Subtle glow effect */
}

/* Image Styling */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--br-md); /* Consistent with other rounded elements */
    object-fit: cover;
}

/* Icon Styling (Assuming SVG or font icons) */
.icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    stroke-width: 2; /* For line-art icons */
    stroke: currentColor;
    fill: none;
    vertical-align: middle;
    transition: stroke var(--transition-speed) var(--transition-ease);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-sm);
    }

    .header .nav {
        margin-top: var(--spacing-sm);
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header .nav-link {
        margin: var(--spacing-xs) var(--spacing-sm);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col ul {
        margin-bottom: var(--spacing-md);
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    section {
        padding: var(--spacing-xl) 0;
    }

    .btn-primary {
        width: 100%;
        padding: var(--spacing-md);
    }
}



/* 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;
    }
}