/* Common Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: scroll; /* Ensure scrollbar is always visible */
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.container {
    width: 85%;
    margin: auto;
    overflow: hidden;
}

header {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    padding: 10px 0; /* Reduced padding for a thinner navbar */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center; /* Align items vertically */
    justify-content: space-between; /* Align items horizontally with space between */
}

header .logo {
    height: 40px; /* Adjust the height of the logo */
    margin-right: 20px; /* Space between logo and nav items */
}

.navbar {
    display: flex;
    align-items: center; /* Align nav items vertically */
}

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

.navbar li {
    margin: 0 15px;
}

.navbar li a {
    color: #333;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease;
}

.navbar li a:hover,
.navbar li a.active {
    color: #005b96;
}

.navbar li a.active::before {
    content: '';
    display: block;
    width: 4px;
    height: 100%;
    background: #005b96;
    position: absolute;
    left: -10px;
    top: 0;
}

.hamburger {
    display: none;
    font-size: 1.5em;
    color: #333;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    header {
        text-align: center;
    }

    header .logo {
        float: none;
        display: block;
        margin: 0 auto;
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .navbar ul.show {
        display: flex;
    }

    .navbar li {
        margin: 15px 0;
        text-align: center;
    }

    .hamburger {
        display: block;
    }
}

main {
    padding-top: 80px; /* Adjust to the height of the navbar */
}

footer {
    background: #ffffff;
    color: #333;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #ddd;
}