:root {
    --navy: #082b63;
    --navy-dark: #041f4c;
    --navy-mid: #0b356d;
    --navy-light: #124a88;

    --blue: #0e4fb3;
    --gold: #e5a313;
    --gold-bright: #ffb515;

    --text: #10264d;
    --muted: #637089;

    --white: #ffffff;
    --bg: #f6f8fc;

    --border: #e3e8f1;

    --shadow:
        0 12px 35px rgba(15, 42, 80, .08);

    --container: 1240px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin: 0 auto;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
    background: var(--navy-dark);

    color: #fff;

    font-size: 13px;
}

.topbar-inner {
    min-height: 36px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.topbar-left,
.topbar-right,
.topbar-right span,
.topbar-right a {
    display: flex;
    align-items: center;

    gap: 8px;
}

.topbar i {
    color: var(--gold);
}

.topbar-right {
    gap: 28px;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    position: relative;
    z-index: 30;

    background:
        linear-gradient(
            135deg,
            #0b356d 0%,
            #124a88 100%
        );

    border-bottom:
        1px solid rgba(255, 255, 255, .10);

    box-shadow:
        0 5px 18px
        rgba(2, 24, 58, .12);
}

.navbar-inner {
    min-height: 94px;

    display: flex;
    align-items: center;

    gap: 28px;
}


/* =========================================================
   BRAND / LOGO
   ========================================================= */

.brand {
    display: flex;
    align-items: center;

    flex: 0 0 auto;

    margin-right: auto;

    text-decoration: none;
}

.brand-logo-horizontal {
    width: 390px;
    max-width: 390px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    overflow: visible;
}

.brand-main-logo {
    display: block;

    width: 100%;
    height: auto;

    max-width: none;

    object-fit: contain;
    object-position: left center;
}


/* =========================================================
   NAV MENU
   ========================================================= */

.nav-menu {
    display: flex;
    align-items: center;

    gap: 31px;
}

.nav-menu > a {
    position: relative;

    padding: 36px 0;

    color:
        rgba(255, 255, 255, .94);

    font-size: 15px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        color .2s ease,
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.nav-menu > a:not(.portal-link):not(.admin-login):hover,
.nav-menu > a.active {
    color: var(--gold-bright);
}

.nav-menu > a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 3px;

    border-radius:
        3px 3px 0 0;

    background:
        var(--gold-bright);
}


/* =========================================================
   PORTAL BUTTON
   ========================================================= */

.nav-menu .portal-link {
    padding: 11px 17px;

    color: #fff;

    border:
        1px solid
        rgba(255, 255, 255, .46);

    border-radius: 8px;

    background:
        rgba(255, 255, 255, .07);
}

.portal-link i {
    margin-left: 5px;

    font-size: 12px;
}

.nav-menu .portal-link:hover {
    color: #fff;

    border-color:
        rgba(255, 255, 255, .9);

    background:
        rgba(255, 255, 255, .13);
}


/* =========================================================
   ADMIN LOGIN BUTTON
   ========================================================= */

.nav-menu .admin-login {
    padding: 12px 20px;

    border-radius: 8px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #d89a10,
            #eba913
        );

    box-shadow:
        0 5px 14px
        rgba(218, 154, 17, .25);
}

.nav-menu .admin-login:hover {
    color: #fff;

    transform:
        translateY(-1px);

    box-shadow:
        0 7px 18px
        rgba(218, 154, 17, .30);
}

.admin-login i {
    margin-right: 6px;
}


/* =========================================================
   MOBILE TOGGLE
   ========================================================= */

.mobile-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border:
        1px solid
        rgba(255, 255, 255, .18);

    border-radius: 8px;

    background:
        rgba(255, 255, 255, .10);

    color: #fff;

    font-size: 20px;

    cursor: pointer;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding-top: 46px;

    background:
        linear-gradient(
            135deg,
            #05285c 0%,
            #021d45 100%
        );

    color: #fff;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.45fr
        .75fr
        .75fr
        1.1fr;

    gap: 50px;

    align-items: start;

    padding-bottom: 36px;
}


/* =========================================================
   FOOTER BRAND
   ========================================================= */

.footer-about {
    max-width: 430px;
}

.footer-brand {
    margin-bottom: 16px;
}

.footer-brand-horizontal {
    display: flex;
    align-items: center;

    width: 100%;
}

.footer-main-logo {
    display: block;

    width: 350px;
    height: auto;

    max-width: 100%;

    object-fit: contain;
    object-position: left center;
}

.footer-about p {
    margin: 0;

    max-width: 410px;

    color: #d4deed;

    font-size: 13px;
    font-weight: 400;

    line-height: 1.65;

    letter-spacing: .02em;
}


/* =========================================================
   FOOTER CONTENT
   ========================================================= */

.site-footer h4 {
    margin:
        3px 0 16px;

    color: #fff;

    font-size: 15px;
    font-weight: 750;
}

.site-footer ul {
    list-style: none;

    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 10px;
}

.site-footer li a {
    display: inline-block;

    color: #d8e0ed;

    font-size: 13px;
    line-height: 1.5;

    transition:
        color .2s ease,
        transform .2s ease;
}

.site-footer li a:hover {
    color: #fff;

    transform:
        translateX(2px);
}


/* =========================================================
   FOOTER CONTACT
   ========================================================= */

.footer-contact p {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin:
        0 0 13px;

    color: #d8e0ed;

    font-size: 13px;
    line-height: 1.55;
}

.footer-contact i {
    flex: 0 0 16px;

    width: 16px;

    margin-top: 3px;

    color: #fff;
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    padding:
        18px 0 21px;

    border-top:
        1px solid
        rgba(255, 255, 255, .10);

    text-align: center;

    color: #cdd7e7;

    font-size: 12px;
}


/* =========================================================
   DESKTOP MEDIUM
   ========================================================= */

@media (max-width: 1180px) {

    .navbar-inner {
        gap: 22px;
    }

    .brand-logo-horizontal {
        width: 330px;
        max-width: 330px;
    }

    .nav-menu {
        gap: 22px;
    }

    .nav-menu > a {
        font-size: 14px;
    }

    .footer-grid {
        gap: 38px;

        grid-template-columns:
            1.35fr
            .75fr
            .75fr
            1fr;
    }

    .footer-about {
        max-width: 390px;
    }

    .footer-about p {
        max-width: 380px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .topbar-right span {
        display: none;
    }

    .navbar-inner {
        min-height: 78px;
    }

    .brand-logo-horizontal {
        width: 300px;
        max-width: 300px;
    }

    .mobile-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-menu {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        padding:
            12px 20px 22px;

        background:
            linear-gradient(
                135deg,
                #0b356d 0%,
                #124a88 100%
            );

        border-top:
            1px solid
            rgba(255, 255, 255, .10);

        box-shadow:
            0 18px 30px
            rgba(5, 31, 75, .20);
    }

    .nav-menu.show {
        display: flex;

        flex-direction: column;
        align-items: stretch;

        gap: 4px;
    }

    .nav-menu > a {
        padding: 14px 12px;

        border-radius: 8px;

        font-size: 14px;
    }

    .nav-menu > a:not(.portal-link):not(.admin-login):hover,
    .nav-menu > a.active {
        background:
            rgba(255, 255, 255, .08);

        color:
            var(--gold-bright);
    }

    .nav-menu > a.active::after {
        display: none;
    }

    .nav-menu .portal-link,
    .nav-menu .admin-login {
        margin-top: 6px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap:
            34px 45px;
    }

    .footer-about {
        max-width: 420px;
    }

    .footer-main-logo {
        width: 320px;
    }

    .footer-about p {
        max-width: 390px;

        font-size: 13px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .container {
        width:
            min(
                calc(100% - 28px),
                var(--container)
            );
    }

    .topbar {
        display: none;
    }

    .navbar-inner {
        min-height: 72px;

        gap: 16px;
    }

    .brand-logo-horizontal {
        width: 245px;
        max-width: 245px;
    }


    /* FOOTER */

    .site-footer {
        padding-top: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 28px;

        padding-bottom: 30px;
    }

    .footer-about {
        max-width: 100%;
    }

    .footer-brand {
        margin-bottom: 14px;
    }

    .footer-main-logo {
        width: 290px;
    }

    .footer-about p {
        max-width: 100%;

        font-size: 13px;
        line-height: 1.65;
    }

    .site-footer h4 {
        margin-bottom: 12px;
    }

    .site-footer li {
        margin-bottom: 8px;
    }

    .footer-bottom {
        padding:
            17px 0 19px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .brand-logo-horizontal {
        width: 205px;
        max-width: 205px;
    }

    .footer-main-logo {
        width: 250px;
    }

    .footer-about p {
        font-size: 12.5px;
        line-height: 1.65;
    }

}