.header {
    position: relative;
    background: white;
    width: 100%;
    z-index: 100;
    padding: 15px 0 0 0;
    border-bottom: 1px solid #eee;
}

    .header .wrap {
        max-width: 1170px;
        width: 95%;
        margin: 0 auto;
    }

        .header .wrap::after {
            content: "";
            clear: both;
            display: table;
        }

    .header .logo {
        float: left;
    }

        .header .logo img {
            margin-top: 0px;
            max-height: 75px;
        }

    .header .slogan {
        float: right;
        font-size: 18px;
        color: #222534;
        font-weight: 300;
        font-style: italic;
        line-height: 30px;
        margin: 0;
        text-align: right;
    }

    .header .navbar {
        float: right;
        clear: right;
        margin-top: 10px;
        padding: 0;
        display: block;
    }

    .header .nav {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .header .nav > li {
            position: relative;
            padding: 0 15px;
        }

            /* Combined style sheet for links */

            .header .nav > li > a {
                position: relative;
                text-decoration: none !important;
                font-size: 15px;
                font-weight: 600;
                color: #747f86 !important;
                display: flex;
                align-items: center;
                transition: color 0.3s;
                padding-bottom: 5px;
            }

                .header .nav > li > a:hover,
                .header .nav > li.active > a {
                    color: #21256d !important;
                }

                .header .nav > li > a::after {
                    content: "";
                    position: absolute;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    width: 0;
                    height: 3px;
                    background: #21256d;
                    transition: all 0.3s ease-out;
                    margin: auto;
                }

            .header .nav > li:hover > a::after,
            .header .nav > li.active > a::after {
                width: 100%;
            }

    .header .navbar-links-container li a img {
        margin-left: 8px;
        position: relative;
        top: 0;
    }

    .header .dropdown:hover .dropdown-menu {
        display: block !important;
    }

    .header .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 15px;
        background: white;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        min-width: 195px;
        width: max-content;
        z-index: 1000;
        list-style: none;
        padding: 0;
        margin: 0;
        border: none;
        border-radius: 0 0 5px 5px;
    }

        .header .dropdown-menu li {
            padding: 0;
        }

            .header .dropdown-menu li a {
                display: block;
                padding: 12px 20px;
                color: #747f86 !important;
                text-decoration: none !important;
                border-bottom: 1px solid #f0f0f0;
                font-size: 14px;
                font-weight: 500;
                transition: background 0.3s, padding-left 0.3s, color 0.3s;
            }

                .header .dropdown-menu li a:hover {
                    background: #f8f9fa;
                    color: #2b2f74 !important;
                    padding-left: 25px;
                }

            .header .dropdown-menu li:last-child a {
                border-bottom: none;
            }