
/* =========================================
   BSI ELITE CONSULT - HEADER & FOOTER
   Bootstrap 4 compatible
========================================= */

:root {
    --bsi-navy: #102b46;
    --bsi-navy-dark: #0b2036;
    --bsi-blue: #245fbd;
    --bsi-blue-hover: #194b99;
    --bsi-text: #536477;
    --bsi-border: #e7edf3;
    --bsi-white: #ffffff;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 15px;
    z-index: 9999;
    padding: 12px 18px;
    background: var(--bsi-white);
    color: var(--bsi-navy);
    border: 2px solid var(--bsi-blue);
    border-radius: 4px;
}

.skip-link:focus {
    top: 10px;
}

/* HEADER */
.site-header {
    position: relative;
    z-index: 1000;
    background: var(--bsi-white);
    font-family: 'DM Sans', sans-serif;
}

.header-top {
    padding: 10px 0;
    background: var(--bsi-navy);
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    letter-spacing: 0.15px;
}

.header-tagline {
    display: inline-block;
}

.header-contact {
    white-space: nowrap;
}

.header-contact a {
    color: var(--bsi-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-contact a:hover {
    color: #a9ccff;
}

.header-contact a span {
    margin-right: 5px;
    color: #a9ccff;
}

.header-divider {
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.3);
}

/* Main navigation */
.main-navbar {
    min-height: 92px;
    padding-top: 12px;
    padding-bottom: 12px;
    background: var(--bsi-white);
    border-bottom: 1px solid var(--bsi-border);
}

.main-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    margin-right: 30px;
    padding: 0;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 66px;
    object-fit: contain;
}

.main-navbar .navbar-nav {
    column-gap: 3px;
}

.main-navbar .nav-link {
    position: relative;
    padding: 13px 12px !important;
    color: var(--bsi-navy) !important;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-item.active > .nav-link {
    color: var(--bsi-blue) !important;
}

.main-navbar .nav-item.active > .nav-link:after {
    position: absolute;
    right: 12px;
    bottom: 4px;
    left: 12px;
    height: 2px;
    background: var(--bsi-blue);
    content: "";
}

.main-navbar .dropdown-menu {
    min-width: 250px;
    margin-top: 8px;
    padding: 10px;
    border: 1px solid var(--bsi-border);
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(16, 43, 70, 0.12);
}

.main-navbar .dropdown-item {
    padding: 10px 12px;
    color: var(--bsi-navy);
    font-size: 13px;
    white-space: normal;
    border-radius: 4px;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
    color: var(--bsi-blue);
    background: #f2f6fc;
}

.main-navbar .dropdown-all {
    font-weight: 700;
}

.main-navbar .dropdown-divider {
    border-top-color: var(--bsi-border);
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 17px;
    color: var(--bsi-white) !important;
    background: var(--bsi-blue);
    border: 1px solid var(--bsi-blue);
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-header-cta span {
    margin-left: 10px;
    font-size: 17px;
}

.btn-header-cta:hover,
.btn-header-cta:focus {
    color: var(--bsi-white);
    background: var(--bsi-blue-hover);
    border-color: var(--bsi-blue-hover);
    text-decoration: none;
    transform: translateY(-1px);
}

/* FOOTER */
.site-footer {
    color: rgba(255, 255, 255, 0.72);
    background: var(--bsi-navy-dark);
    font-family: 'DM Sans', sans-serif;
}

.footer-main {
    padding-top: 75px;
    padding-bottom: 60px;
}

.footer-logo-link {
    display: inline-block;
    padding: 10px 14px;
    margin-bottom: 20px;
    background: var(--bsi-white);
    border-radius: 5px;
}

.footer-logo {
    display: block;
    width: auto;
    max-width: 195px;
    max-height: 65px;
    object-fit: contain;
}

.footer-description {
    max-width: 340px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 14px;
    line-height: 1.9;
}

.footer-location {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-location-icon {
    margin-right: 9px;
    color: #8bb9ff;
    font-size: 10px;
}

.footer-links h3,
.footer-contact h3 {
    margin: 0 0 23px;
    color: var(--bsi-white);
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 800;
}

.footer-links h3:after,
.footer-contact h3:after {
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 12px;
    background: #6da5f7;
    content: "";
}

.footer-links a {
    display: block;
    margin-bottom: 13px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--bsi-white);
    text-decoration: none;
}

.footer-links a:hover {
    padding-left: 4px;
}

.footer-contact > p {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.8;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 17px;
}

.footer-contact-label {
    margin-bottom: 5px;
    color: #8bb9ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.footer-contact-item a {
    overflow-wrap: anywhere;
    color: var(--bsi-white);
    font-size: 13px;
    text-decoration: none;
}

.btn-footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 12px 16px;
    color: var(--bsi-white);
    background: var(--bsi-blue);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    transition: background 0.2s ease;
}

.btn-footer-cta span {
    margin-left: 10px;
    font-size: 16px;
}

.btn-footer-cta:hover,
.btn-footer-cta:focus {
    color: var(--bsi-white);
    background: var(--bsi-blue-hover);
    text-decoration: none;
}

.footer-bottom {
    padding: 21px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    line-height: 1.8;
}

.footer-bottom span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
}

/* Keyboard accessibility */
.site-header a:focus-visible,
.site-footer a:focus-visible {
    outline: 2px solid #75aaff;
    outline-offset: 4px;
}

/* Tablet and mobile */
@media (max-width: 1199.98px) {
    .main-navbar .navbar-nav {
        column-gap: 0;
    }

    .main-navbar .nav-link {
        padding-right: 9px !important;
        padding-left: 9px !important;
        font-size: 12px;
    }

    .brand-logo {
        max-width: 190px;
    }

    .btn-header-cta {
        padding: 12px;
    }
}

@media (max-width: 991.98px) {
    .main-navbar {
        min-height: 78px;
    }

    .brand-logo {
        max-width: 190px;
        max-height: 58px;
    }

    .main-navbar .navbar-collapse {
        padding: 15px 0 8px;
    }

    .main-navbar .navbar-nav {
        align-items: stretch !important;
    }

    .main-navbar .nav-link {
        padding: 12px 5px !important;
        font-size: 14px;
    }

    .main-navbar .nav-item.active > .nav-link:after {
        display: none;
    }

    .main-navbar .dropdown-menu {
        margin-top: 0;
        border: 0;
        box-shadow: none;
    }

    .main-navbar .dropdown-item {
        padding: 10px 15px;
    }

    .main-navbar .nav-cta {
        margin: 10px 0 5px;
    }

    .btn-header-cta {
        width: 100%;
        justify-content: center;
    }

    .footer-main {
        padding-top: 55px;
        padding-bottom: 40px;
    }
}

@media (max-width: 767.98px) {
    .header-top {
        display: none;
    }

    .main-navbar {
        min-height: 72px;
        padding: 10px 0;
    }

    .brand-logo {
        max-width: 165px;
        max-height: 52px;
    }

    .navbar-toggler {
        padding: 7px 9px;
        border-color: var(--bsi-border);
        border-radius: 4px;
    }

    .footer-main {
        padding-top: 45px;
        padding-bottom: 30px;
    }

    .footer-brand {
        margin-bottom: 35px;
    }

    .footer-links h3,
    .footer-contact h3 {
        margin-bottom: 18px;
    }

    .footer-contact {
        margin-top: 15px;
    }

    .footer-bottom {
        padding: 18px 0;
    }

    .footer-bottom .col-md-5 {
        margin-top: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .main-navbar *,
    .site-footer *,
    .btn-header-cta {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
