:root {
    --primary-color: #303a44;
    --secondary-color: #0056b3;
    --background-color: #f4f6f9;
    --text-color: #333;
    --footer-background: #222;
    --footer-text-color: #fff;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

* {
    box-sizing: border-box;
}

html {
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    background: var(--background-color);
    color: var(--text-color);
    padding-top: 80px; 
    min-height: 100vh;
}

footer {
    background-color: var(--footer-background);
    color: var(--footer-text-color);
    text-align: center;
    padding: 20px;
    width: 100%;
    box-shadow: 0 -4px 8px rgba(0,0,0,0.2);
    z-index: 1000;

}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(51, 51, 51, 0.9); 
    z-index: 1000;
    color: var(--text-color);
    padding: 5px 20px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, height 0.3s ease;
    height: 60px; 
}


nav .logo-container img {
    height: 50px;
}

nav .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav .nav-links li a {
    color: #e0e0e0; 
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

nav .nav-links li a:hover {
    color: #1e90ff; 
}


nav .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

nav .menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: currentColor;
    margin: 4px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links.large-screen {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-links.small-screen {
        display: flex;
    }
    nav .nav-links.large-screen {
        display: none;
    }
    nav .menu-toggle {
        display: flex;
    }
    nav .nav-links.small-screen {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        max-width: 100%;
        background-color: var(--primary-color);
        padding: 10px 0;
    }
    nav .nav-links.small-screen li {
        text-align: center;
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    .nav-links.small-screen {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
}
@media (min-width: 769px) {
    .nav-links.small-screen {
        display: none;
    }
    .menu-toggle {
        display: none;
    }
}
nav.scrolled {
    background-color: #222;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 40px;
}

.logo-text {
    color: #fff;
    font-size: 1.5em;
    margin-left: 10px;
    align-content: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #e0e0e0; 
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: #1e90ff; 
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 30px;
    position: relative;
}

.menu-toggle .bar {
    width: 40px;
    height: 5px;
    background-color: #fff;
    margin: 6px 0;
    transition: 0.4s;
}

.menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px); 
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px); 
}

.menu-toggle.open .bar {
    background-color: #ffcc00; 
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-direction: row;
    transition: transform 0.3s ease;
}

nav.hidden {
    transform: translateY(-100%);
}

.nav-links.large-screen {
    display: flex;
    padding: 0 20px;
}

.nav-links.small-screen {
    position: fixed;
    top: 60px;
    left: 0;
    background-color: rgba(200, 200, 200, 0.9);
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 60px);
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    z-index: 1000;
    display: none;
}

.nav-links.showing {
    transform: translateX(0);
}

.nav-links.small-screen li {
    width: 100%;
    margin: 10px 0;
}

.nav-links.small-screen li a {
    padding: 10px 20px;
    font-size: 16px;
    color: #ffffff; 
    background-color: #007BFF; 
    display: block;
    text-align: center;
    border-radius: 4px;
    margin: 5px 0;
    width: 90%; 
}

.nav-links.small-screen li a:hover {
    background-color: #0056b3; 
    color: #ffcc00; 
}

@media (max-width: 768px) {
    .nav-links.large-screen {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links.small-screen {
        display: flex;
    }
}

@media (min-width: 769px) {
    .nav-links.small-screen {
        display: none;
    }

    .menu-toggle {
        display: none;
    }
}

.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
}

.cookie-consent-popup {
    background-color: #222;
    color: #fff;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    width: 350px;
    margin-top: -10%;
}

.cookie-consent-popup h3 {
    color: #ffcc00;
    margin-bottom: 10px;
}

.cookie-consent-popup p {
    margin-bottom: 20px;
}

.cookie-consent-popup button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
}

.cookie-consent-popup button:hover {
    background-color: #0056b3;
}

.cookie-manage-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1100;
}

.cookie-popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    width: 350px;
}

.cookie-popup-content h3 {
    color: #333;
}

.cookie-popup-content label {
    display: block;
    margin: 10px 0;
}

.cookie-popup-content button {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
}

.cookie-popup-content button:hover {
    background-color: #0056b3;
}


.cookie-popup-content button:hover {
    background-color: #0056b3;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.nav-links.animate-in {
    animation: slideIn 0.5s forwards;
}

.nav-links.animate-out {
    animation: slideOut 0.5s forwards;
}

