.container-topbar {
    background: #1b365d;
    padding: 10px 0 14px;
}

.container-topbar .mod-custom {
    margin: 0;
    padding-left: 70px !important;
}

.topbar-contacts {
    display: flex;
    align-items: center;
    gap: 40px;
    color: #fff;
    font: 16px "Open Sans", sans-serif;
}

/* ============================= */
/* Шапка */
/* ============================= */

.header.container-header {
    background: #fff !important;
    background-image: none !important;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 3px 12px rgba(0,0,0,.12);
}

.header.container-header .grid-child {
    background: transparent !important;
}

.header.container-header .container-nav {
    background: #fff !important;
}

/* ============================= */
/* Меню */
/* ============================= */

.container-nav {
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    transition: all .35s ease;
}

.container-nav .mod-menu > li > a {
    color: #1b365d !important;
    font-size: 18px !important;
    font-weight: 400;
    text-transform: uppercase;
    padding: 12px 18px;
    margin: 0 3px;
    border-radius: 6px;
    transition: all .3s ease;
}

.container-nav .mod-menu > li > a:hover {
    background: #1b365d;
    color: #fff !important;
    transform: translateY(-2px);
}

.container-nav .mod-menu > li.active > a,
.container-nav .mod-menu > li.current > a {
    background: #0d6efd;
    color: #fff !important;
}

/* ============================= */
/* Випадаюче меню */
/* ============================= */

.container-nav .metismenu-item {
    position: relative;
}

.container-nav .mm-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 270px;
    padding: 10px 0;
    margin: 0;
    border-top: 3px solid #1b365d;
    box-shadow: 0 5px 15px rgba(0,0,0,.15);
    z-index: 9999;
}

.container-nav .metismenu-item:hover > .mm-collapse {
    display: block !important;
}

.container-nav .mm-collapse .metismenu-item {
    display: block;
    width: 100%;
}

.container-nav .mm-collapse a {
    display: block;
    padding: 11px 20px;
    color: #1b365d !important;
    font-size: 16px !important;
    font-weight: 400;
    text-transform: uppercase;
    white-space: nowrap;
}

.container-nav .mm-collapse a:hover {
    background: #1b365d;
    color: #fff !important;
}

.container-nav .mm-toggler {
    display: none;
}

/* ============================= */
/* Заголовок сторінки */
/* ============================= */

.page-header h1 {
    text-align: center;
    color: #0057c8;
    font-size: 36px;
    font-weight: 700;
    margin: 30px 0 45px;
    position: relative;
    padding-bottom: 15px;
}

.page-header h1:after {
    content: "";
    position: absolute;
    width: 120px;
    height: 4px;
    background: #0057c8;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
}

/* ============================= */
/* Анімація шапки */
/* ============================= */

.container-topbar,
.navbar-brand,
.navbar-brand img {
    transition: all .35s ease;
}

/* Ховаємо верхню синю смугу */

.header-small .container-topbar {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
}

/* Плавно ховаємо логотип */

.navbar-brand {
    overflow: hidden;
}

.header-small .navbar-brand {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
}

/* Меню трохи компактніше */

.header-small .container-nav .mod-menu > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 16px;
}