/* Matches ekhata4u.com header/footer on public MVC pages */
.ek-site-header {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1030;
}

.ek-site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.ek-site-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.ek-site-logo img {
    height: 56px;
    width: auto;
    display: block;
}

.ek-site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.ek-site-nav a {
    color: #0a0a0a;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 12px 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ek-site-nav a:hover,
.ek-site-nav a:focus {
    color: #67bcdb;
    text-decoration: none;
}

.ek-site-nav-item {
    position: relative;
}

.ek-site-subnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    z-index: 20;
}

.ek-site-nav-item:hover > .ek-site-subnav,
.ek-site-nav-item:focus-within > .ek-site-subnav {
    display: block;
}

.ek-site-subnav a {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

.ek-site-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.ek-site-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 110px;
    padding: 6px 18px;
    border: 2px solid #67bcdb;
    font-size: 13px;
    background-color: #67bcdb;
    border-radius: 50px;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none !important;
    line-height: 1.4;
}

.ek-site-btn:hover,
.ek-site-btn:focus {
    background-color: #4fa8c7;
    border-color: #4fa8c7;
    color: #fff !important;
    text-decoration: none !important;
}

.ek-site-lang .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    min-width: 42px;
    height: 32px;
    padding: 4px 10px;
    font-size: 13px;
    color: #0a0a0a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.ek-site-lang .btn .famfamfam-flags,
.ek-site-lang .dropdown-item .famfamfam-flags {
    display: inline-block;
    width: 16px;
    height: 12px;
    flex-shrink: 0;
    overflow: hidden;
    margin: 0 11px 0 0;
    vertical-align: middle;
}

.ek-site-lang .btn.dropdown-toggle::after {
    margin-left: 4px;
    vertical-align: middle;
}

.ek-site-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    font-size: 22px;
    color: #0a0a0a;
    padding: 8px 10px;
    line-height: 1;
}

.ek-site-footer {
    background: #fff;
    color: #54595f;
    margin-top: auto;
}

.ek-site-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 24px;
}

.ek-site-footer h5 {
    color: #3b3c3c;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.ek-site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ek-site-footer li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.ek-site-footer a {
    color: #54595f;
    text-decoration: none;
}

.ek-site-footer a:hover {
    color: #67bcdb;
    text-decoration: none;
}

.ek-site-footer-icon {
    color: #67bcdb;
    width: 18px;
    margin-right: 8px;
}

.ek-site-copyright {
    background: #67bcdb;
    color: #fff;
    text-align: center;
    padding: 15px 16px;
    margin: 0;
    font-size: 14px;
}

.public-layout-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #fff;
}

.public-main-content {
    flex: 1 0 auto;
    background: #f7f9fb;
}

@media (max-width: 991px) {
    .ek-site-nav-toggle {
        display: inline-flex;
        order: 3;
    }

    .ek-site-header-inner {
        flex-wrap: wrap;
    }

    .ek-site-nav,
    .ek-site-actions {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 0 16px;
    }

    .ek-site-header.is-open .ek-site-nav,
    .ek-site-header.is-open .ek-site-actions {
        display: flex;
    }

    .ek-site-subnav {
        position: static;
        box-shadow: none;
        padding-left: 12px;
    }

    .ek-site-nav-item:hover > .ek-site-subnav {
        display: none;
    }

    .ek-site-nav-item.is-open > .ek-site-subnav {
        display: block;
    }

    .ek-site-actions {
        gap: 10px;
    }

    .ek-site-btn {
        width: 100%;
    }
}
