{
    box-sizing: border-box;
}

:root {
    --primary-blue: #0A3C56; 
    --accent-orange: #FF6B00; 
    --text-dark: #222;
    --text-light: #f9f9f9;
    --background-light: #f4f4f4;
    --font-family: 'Montserrat', sans-serif;
}

body { font-family: var(--font-family); margin: 0; padding: 0; color: var(--text-dark); line-height: 1.6; background-color: white; }
h1, h2, h3 { color: var(--primary-blue); line-height: 1.2; }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }a { color: var(--primary-blue); text-decoration: none; }
section { padding: 40px 5%; }

.btn { display: inline-block; padding: 15px 30px; margin-left: 30px; border-radius: 4px; text-decoration: none; font-weight: 600; transition: background-color 0.3s, opacity 0.3s; text-transform: uppercase; letter-spacing: 0.5px; text-align: center; }
.btn-primary { background-color: var(--accent-orange); color: #140014; border: 2px solid var(--accent-orange); }
.btn-primary:hover { background-color: #ff8c33; border-color: #ff8c33; }

header { background-color: var(--primary-blue); color: white; padding: 15px 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; }
.logo a { display: flex; align-items: center; height: 40px; }
.logo img { height: 100%; width: auto; padding: 2px; border: 1px solid white; box-sizing: content-box; }

#menu-toggle {
    display: block; background: none; border: none; color: white; font-size: 1.8em; cursor: pointer; z-index: 1010;
}
#main-nav {
    opacity: 0; 
    visibility: hidden;
    width: 100%;
    position: absolute;
    top: 70px; 
    left: 0;
    background-color: var(--primary-blue); 
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 900;
    padding-bottom: 0;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out, transform 0.5s ease-in-out; 
    transform: translateY(-20px);
}
#main-nav.active {
    opacity: 1; 
    visibility: visible;
    transform: translateY(0);
    padding-bottom: 15px;
}
nav ul { list-style: none; padding: 0; margin: 0; text-align: center; }
nav ul li a { padding: 15px 20px; display: block; color: white; transition: background-color 0.3s; }
nav ul li a:hover:not(.btn-primary) { background-color: #145980; }
nav ul li:last-child { margin-top: 10px; }

footer { background-color: var(--text-dark); color: var(--text-light); padding: 40px 5%; font-size: 0.9em; }
.footer-content { display: flex; flex-direction: column; gap: 20px; text-align: center; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links a { display: inline-block; padding: 5px; margin: 1px 0; color: var(--text-light); opacity: 0.8; transition: opacity 0.3s, color 0.3s; }
.footer-links a:hover { opacity: 1; color: var(--accent-orange); }

#cookieConsentOverlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 1200; display: none; justify-content: center; align-items: center; }
#cookieConsent { background-color: white; color: var(--text-dark); padding: 30px; max-width: 400px; text-align: center; border-radius: 8px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5); transform: scale(0.95); opacity: 0; transition: all 0.3s ease-in-out; }
#cookieConsent.show { transform: scale(1); opacity: 1; }
#cookieConsent button { background-color: var(--accent-orange); color: white; border: none; padding: 10px 20px; margin-top: 15px; cursor: pointer; border-radius: 4px; font-weight: 600; text-transform: uppercase; }
#scrollTopBtn { background-color: var(--accent-orange); display: none; position: fixed; bottom: 20px; right: 30px; z-index: 99; border: none; outline: none; color: white; cursor: pointer; padding: 15px; border-radius: 50%; font-size: 18px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); }


@media (min-width: 768px) {
    section { padding: 80px 10%; }
    
    #menu-toggle { display: none; }
    #main-nav { 
        opacity: 1;
        visibility: visible;
        transition: none; 
        transform: none;
        position: static; 
        width: auto; 
        box-shadow: none; 
        padding-bottom: 0;
    }
    nav ul { display: flex; align-items: center; }

    .footer-content { flex-direction: row; justify-content: space-between; text-align: left; }
}