﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --black: #111111;
    --green: #1fb020;
    --light-green: #C9E8BF;
    --white: #ffffff;
    --grey: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 40px 0 20px;
    border-bottom: 2px solid var(--green);
    margin-bottom: 40px;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--light-green);
    margin-bottom: 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--green);
    margin-right: 15px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
}

.nav-links {
    display: flex;
    align-items: center;
}

.back-to-site-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--green);
    color: white;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

    .back-to-site-btn:hover {
        background-color: var(--black);
        color: white;
        text-decoration: none;
        transform: translateX(-5px);
    }

h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--black);
}

.last-updated {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

h2 {
    font-size: 26px;
    font-weight: 600;
    margin: 40px 0 20px;
    color: var(--black);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--light-green);
}

h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--black);
}

h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 10px;
    color: var(--black);
}

p {
    margin-bottom: 20px;
    font-size: 16px;
}

ul {
    margin: 0 0 20px 20px;
}

li {
    margin-bottom: 10px;
}

a {
    color: var(--green);
    text-decoration: none;
    transition: all 0.2s ease;
}

    a:hover {
        color: var(--black);
        text-decoration: underline;
    }

.section {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 40px;
    padding: 20px 30px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--green);
}

.highlight {
    background-color: var(--light-green);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.contact-section {
    background-color: var(--grey);
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
    border-left: 4px solid var(--green);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--green);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        background-color: var(--black);
        transform: translateY(-3px);
    }

footer {
    margin: 60px 0 30px;
    padding-top: 20px;
    border-top: 1px solid var(--light-green);
    text-align: center;
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }

    h4 {
        font-size: 16px;
    }

    .section {
        padding: 15px 20px 5px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

/* Table of Contents Styling */
.toc {
    background-color: var(--grey);
    padding: 20px 30px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid var(--green);
}

    .toc h3 {
        margin-top: 0;
        font-size: 18px;
    }

.toc-list {
    list-style-type: none;
    margin-left: 0;
}

    .toc-list li {
        margin-bottom: 8px;
    }

    .toc-list a {
        display: inline-block;
        padding: 2px 0;
        transition: all 0.2s ease;
    }

        .toc-list a:hover {
            transform: translateX(5px);
        }

.toc-section {
    margin-top: 10px;
}

.toc-subsection {
    margin-left: 20px;
    font-size: 14px;
}

/* Cookie consent banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--black);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.cookie-text {
    flex: 1;
    padding-right: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
}

.btn-accept {
    background-color: var(--green);
    color: white;
}

    .btn-accept:hover {
        background-color: #18901a;
    }

.btn-decline {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

    .btn-decline:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

.hidden {
    display: none;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb {
    background: var(--green);
    border-radius: 4px;
}
