:root {
    /* Colors */
    --color-primary: #1A2E40;
    --color-secondary: #28A745;
    --color-background: #F0F2F5;
    --color-footer-bg: #1A2E40;
    --color-button: #007BFF;
    --color-text-light: #F8F9FA; /* For text on dark backgrounds */
    --color-text-dark: #333; /* Default text color */
    --color-section-bg-1: #F8F9FA;
    --color-section-bg-2: #EAF2F8;
    --color-section-bg-3: #F0F6FA;
    --color-section-bg-4: #E9ECEF;
    --color-section-bg-5: #D4E7D0;

    /* Fonts */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;

    /* Spacing */
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;

    /* Border Radius */
    --border-radius-soft: 12px;
    --border-radius-btn: 8px;

    /* Shadows */
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-input-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06); /* Claymorphism-like inner shadow */
}

/* Base Styles */
body {
    font-family: var(--font-primary);
    line-height: 1.7; /* Generous line-height for readability */
    color: var(--color-text-dark);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    margin-top: calc(var(--spacing-lg) * 0.75);
    margin-bottom: calc(var(--spacing-md) * 0.5);
    line-height: 1.2;
    letter-spacing: -0.02em; /* Slight letter spacing 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(--color-button);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

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

/* Container for general content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
    padding: 1rem var(--spacing-md);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(5px); /* Glassmorphism effect for header */
}

.header .logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
}

.header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.header nav li {
    margin-left: 1.5rem;
}

.header nav a {
    color: var(--color-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-btn);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.header nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--color-button), lighten(var(--color-button), 15%));
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: -1;
}

.header nav a:hover {
    color: var(--color-text-light);
    text-decoration: none;
}

.header nav a:hover::before {
    opacity: 1;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: var(--border-radius-btn);
    background-color: var(--color-button);
    color: var(--color-text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3); /* Soft shadow for depth */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, lighten(var(--color-button), 10%), var(--color-button));
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: -1;
}

.btn:hover {
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px); /* Slight lift on hover */
}

.btn:hover::before {
    opacity: 1;
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

.btn-icon {
    margin-right: 0.5rem;
}

/* Input Field Styles */
.input-field {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-btn);
    background-color: #fff;
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--color-text-dark);
    box-shadow: var(--shadow-input-inner); /* Claymorphism-like inner shadow */
    transition: all 0.3s ease-in-out;
    box-sizing: border-box; /* Ensure padding doesn't increase width */
}

.input-field:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-input-inner), 0 0 0 3px rgba(40, 167, 69, 0.2); /* Focus state with outline */
}

textarea.input-field {
    min-height: 120px;
    resize: vertical;
}

/* Card Styles */
.card {
    background-color: #fff;
    border-radius: var(--border-radius-soft);
    box-shadow: var(--shadow-card);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Section Backgrounds */
.section-bg-1 {
    background-color: var(--color-section-bg-1);
    padding: var(--spacing-xl) 0;
}

.section-bg-2 {
    background-color: var(--color-section-bg-2);
    padding: var(--spacing-xl) 0;
}

.section-bg-3 {
    background-color: var(--color-section-bg-3);
    padding: var(--spacing-xl) 0;
}

.section-bg-4 {
    background-color: var(--color-section-bg-4);
    padding: var(--spacing-xl) 0;
}

.section-bg-5 {
    background-color: var(--color-section-bg-5);
    padding: var(--spacing-xl) 0;
}

/* Footer Styles */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xl) 0 2rem 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50px; /* Adjust to control wave height */
    left: 0;
    width: 100%;
    height: 100px; /* Height of the wave pattern */
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 100" xmlns="http://www.w3.org/2000/svg"><path fill="%23F0F2F5" fill-opacity="1" d="M0,64L48,69.3C96,75,192,85,288,80C384,75,480,53,576,48C672,43,768,53,864,64C960,75,1056,85,1152,85.3C1248,85,1344,75,1392,69.3L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat center bottom;
    background-size: cover;
    z-index: 0;
}

.footer .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.footer .footer-section {
    flex: 1;
    min-width: 200px;
    margin-right: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer .footer-section h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

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

.footer .footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer .footer-section ul li a {
    color: var(--color-text-light);
    text-decoration: none;
    opacity: 0.8;
}

.footer .footer-section ul li a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
    opacity: 1;
}

.footer .social-icons a {
    display: inline-block;
    color: var(--color-text-light);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.footer .social-icons a:hover {
    color: var(--color-secondary);
    transform: translateY(-3px);
}

.footer .footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Example usage for sections (requires JS for intersection observer) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    animation: fadeInSlideUp 0.8s ease-out forwards;
}

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

    h2 {
        font-size: 2rem;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .header nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header nav li {
        margin: 0.5rem 0.8rem;
    }

    .footer .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer .footer-section {
        margin-right: 0;
        margin-bottom: 2rem;
    }
}

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

    h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }

    .card {
        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;
    }
}