/* nav.css
   Top navigation, language switcher, mobile menu and breadcrumbs. */

/* ---------- navbar ---------- */

.navbar-t {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 15px var(--gutter);
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: white;
    transition: box-shadow 0.4s ease, padding 0.4s ease;
}

.navbar-t.scrolled {
    padding: 8px var(--gutter);
    box-shadow: 0 6px 24px rgba(1, 1, 1, 0.08);
}

.navbar-t .left {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-start;

}

.navbar-t .left img {
    max-width: clamp(140px, 13vw, 190px);
}

.navbar-t .middle {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 26px;
    white-space: nowrap;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;

}

.navbar-t .middle a {
    text-decoration: none;
    color: rgba(1, 1, 1, 0.7);
    font-size: clamp(12px, 1.2vw, 13px);
    letter-spacing: 0.1px;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-t .middle a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #0872bd;
    transition: width 0.35s ease;
}

.navbar-t .middle a:hover,
.navbar-t .middle a.active {
    color: #0d2b4a;
    font-weight: 600;
}

.navbar-t .middle a:hover {
    color: #0872bd;
}

.navbar-t .middle a:hover::after,
.navbar-t .middle a.active::after {
    width: 100%;
}

.navbar-t .right {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
}

.navbar-t .right button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #075d9b;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 12px 22px;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-t .right button:hover {
    background-color: #0872bd;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(8, 114, 189, 0.35);
}

.navbar-t .right button i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, 1.5vw, 17px);
}

.navbar-t .right button .text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.3;
}

.navbar-t .right button .text b {
    font-size: clamp(13px, 1.5vw, 16px);
    white-space: nowrap;
}

.navbar-t .right button .text p {
    font-size: clamp(10px, 1.0vw, 11px);
    opacity: 0.85;
    white-space: nowrap;
}

.navbar-t .right .burger {
    display: none;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #0d2b4a;
}


/* ---------- mobile menu ---------- */

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 18px;
    padding: 0 var(--gutter);
    max-height: 0;
    overflow: hidden;
    background-color: white;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    position: sticky;
    top: 70px;
    z-index: 49;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.mobile-menu.open {
    max-height: 340px;
    padding: 20px var(--gutter);
    box-shadow: 0 10px 24px rgba(1, 1, 1, 0.08);
}

.mobile-menu a {
    text-decoration: none;
    color: rgba(1, 1, 1, 0.8);
}

.mobile-menu b {
    color: #075d9b;
}


/* ---------- language switcher ---------- */

.navbar-t .right .lang {
    position: relative;
    margin-right: 12px;
}

.navbar-t .right .lang .lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: transparent;
    border: 1px solid rgba(1, 1, 1, 0.15);
    border-radius: 8px;
    padding: 9px 12px;
    cursor: pointer;
    outline: none;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(11px, 1.2vw, 13px);
    color: #0d2b4a;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.navbar-t .right .lang .lang-toggle:hover {
    border-color: #0872bd;
    color: #0872bd;
}

.navbar-t .right .lang .lang-toggle i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.navbar-t .right .lang .lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: flex;
    flex-direction: column;
    min-width: 130px;
    background-color: white;
    border: 1px solid rgba(1, 1, 1, 0.1);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(13, 43, 74, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 60;
}

.navbar-t .right .lang.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-t .right .lang .lang-menu a {
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(11px, 1.2vw, 13px);
    color: rgba(1, 1, 1, 0.75);
    padding: 11px 14px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.navbar-t .right .lang .lang-menu a:hover {
    background-color: #f6f8fa;
    color: #0872bd;
}

.navbar-t .right .lang .lang-menu a.active {
    color: #075d9b;
    font-weight: 600;
}

.navbar-t .right .call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #075d9b;
    color: white;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-t .right .call:hover {
    background-color: #0872bd;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(8, 114, 189, 0.35);
}

.navbar-t .right .call i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, 1.5vw, 17px);
}

.navbar-t .right .call .text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.3;
}

.navbar-t .right .call .text b {
    font-size: clamp(13px, 1.5vw, 16px);
    white-space: nowrap;
}

.navbar-t .right .call .text p {
    font-size: clamp(10px, 1.0vw, 11px);
    opacity: 0.85;
    white-space: nowrap;
}

.mobile-menu .langs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.mobile-menu .langs a {
    border: 1px solid rgba(1, 1, 1, 0.15);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
}

.mobile-menu .langs a.active {
    background-color: #075d9b;
    border-color: #075d9b;
    color: white;
}


/* ---------- breadcrumbs ---------- */

.crumbs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 9px;
    padding: 15px var(--gutter);
    box-sizing: border-box;
    background-color: #0a2540;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(10px, 1.1vw, 12px);
    color: rgba(255, 255, 255, 0.6);
}

.crumbs a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.crumbs a:hover {
    color: white;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.crumbs span {
    color: white;
    font-weight: 600;
}

.crumbs i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    opacity: 0.45;
    margin-top: 1px;
}
