/* Reset */
html, body, h1, h2, h3, ul, li, a, img {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #444;
}

/* Header */
header {
    background-color: #23375B; /* Dark blue */
    color: white;
    padding: 20px; /* Adjusted padding for larger logo */
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

header .logo-container {
    margin: -15px 0;
}

header .logo-container img {
    height: 95px; /* Increased logo size */
    margin: 0;
}

/* Navigation */
nav {
    display: flex; /* Default layout: flex for desktop view */
}

nav ul {
    display: flex;
    gap: 15px; /* Space between menu items */
    margin: 0;
}

nav ul li {
    list-style: none; /* Remove bullet points */
}

nav ul li a.nav-link {
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease; /* Smooth hover effect */
    text-decoration: none;
}

nav ul li a.nav-link:hover, .current a.nav-link {
    background-color: #39649F; /* Light blue background for active/hover */
}

/* Burger Menu for Mobile */
.burger-menu {
    display: none; /* Hidden by default (desktop view) */
    font-size: 28px; /* Large hamburger icon */
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

/* Main Content */
main {
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    max-width: 960px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for content */
}

h1 {
    font-size: 28px;
    color: #23375B; /* Dark blue */
    margin-bottom: 15px;
    border-bottom: 3px solid #39649F; /* Light blue underline */
    padding-bottom: 5px;
}

h2 {
    font-size: 22px;
    color: #23375B;
    margin-top: 20px;
    margin-bottom: 10px;
}

h3 {
    font-size: 18px;
    color: #39649F; /* Light blue */
}

p, ul, ol {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #444; /* Slightly darker text */
}

ul {
    list-style-type: none; /* Remove default bullet points */
}

ul.bullet-list {
    list-style:  inside;
}

ol {
    list-style-type: decimal; /* Numbered lists */
    padding-left: 20px; /* Indentation for clarity */
}

img {
    max-width: 100%; /* Ensure images scale properly */
    height: auto;
    display: block;
    margin: 15px auto;
}

img.map-image {
    max-width: 80%; /* Smaller map image for main content */
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background-color: #23375B;
    color: white;
    font-size: 14px;
}

footer p {
    color: white;
}

/* Form container */
form#form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    font-family: 'Helvetica Neue', sans-serif;
}

/* Inputs & Textarea */
form#form input[type="text"],
form#form input[type="email"],
form#form textarea {
    width: 96%;
    padding: 0.75rem;
    margin: 0.75rem 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

form#form textarea {
    height: 100px;
}

form#form input:focus,
form#form textarea:focus {
    border-color: #0059a7;
    outline: none;
}

form#form input.error,
form#form textarea.error {
    border: 2px solid red;
}

/* Button */
form#form button[type="submit"] {
    background-color: #0059a7;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

form#form button[type="submit"]:hover {
    background-color: #004b91;
}

form#form label {
    font-weight: bold;
}

/* Result message */
#result {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #0059a7;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
}

.lang-link {
    display: inline-block;
}

.lang-flag {
    width: 20px;
    margin: 0;
}

.lang-link:hover .lang-flag,
.lang-link:focus .lang-flag {
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Mobile Styles */
@media only screen and (max-width: 768px) {

    body::-webkit-scrollbar {
        display: none;
    }
    
    header .logo-container {
        align-content: center;
        width: 100%;
    }

    header .logo-container img {
        height: 90px; /* Increased logo size */
        margin: 6px auto !important
    }
    /* Show burger menu on mobile */
    .burger-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 50px;
    }

    /* Hide navigation by default */
    nav {
        display: none;
        position: absolute;
        top: calc(80px + 15px); /* Adjust space for taller logo */
        right: 0;
        background-color: #23375B; /* Same color as header */
        width: 100%; /* Full width dropdown */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Soft shadow */
        z-index: 10;
    }

    /* Vertical menu for mobile */
    nav ul {
        flex-direction: column;
        gap: 0;
        margin: 10px 0;
        width: 100%;
    }

    nav ul li a {
        text-align: right; /* Centered text for dropdown */
        padding: 15px;
        display: block;
    }

    /* Enable visibility when burger menu is clicked */
    nav.active {
        display: flex;
    }

    form#form input[type="text"],
    form#form input[type="email"],
    form#form textarea{
        width: 91%;
    }

    form#form input[type="text"],
    form#form input[type="email"],
    form#form textarea {
        width: 92%;
    }

    .lang-flag {
        width: 30px;
    }
    
    .language-selector {
        display: list-item;
        align-items: initial;
        text-align: right;
    }
}